mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
install_easy: keenetic warning
This commit is contained in:
@@ -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=
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user