v1.4.6
~适配更多华硕设备(待测试) ~增加Openwrt系统使用Dnsmasq转发DNS的设置(7-6,未测试) ~替换部分在线生成服务器地址 ~部分内容文字描述调整
This commit is contained in:
@@ -11,6 +11,7 @@ echo "** by Juewuy **"
|
||||
echo "***********************************************"
|
||||
|
||||
[ -f "/etc/storage/started_script.sh" ] && systype=Padavan && initdir='/etc/storage/started_script.sh'
|
||||
[ -d "/jffs/" ] && systype=asusrouter && initdir='/jffs/init-start'
|
||||
[ -f "/jffs/.asusrouter" ] && systype=asusrouter && initdir='/jffs/.asusrouter'
|
||||
#检查root权限
|
||||
if [ "$USER" != "root" -a -z "$systype" ];then
|
||||
|
||||
Reference in New Issue
Block a user