install_easy: keenetic warning

This commit is contained in:
bol-van
2024-03-22 18:26:00 +03:00
parent 3558e7c858
commit cac587b271
3 changed files with 13 additions and 0 deletions

View File

@@ -146,6 +146,8 @@ linux_get_subsys()
INIT=$(basename "$INIT")
if [ -f "/etc/openwrt_release" ] && [ "$INIT" = "procd" ] ; then
SUBSYS=openwrt
elif [ -x "/bin/ndm" ] ; then
SUBSYS=keenetic
else
# generic linux
SUBSYS=

View File

@@ -125,6 +125,7 @@ check_system()
echo easy installer only supports Linux and MacOS. check readme.txt for supported systems and manual setup info.
exitp 5
fi
linux_get_subsys
echo system is based on $SYSTEM
[ -n "$info" ] && echo $info
}