~适配更多华硕设备(待测试)
~增加Openwrt系统使用Dnsmasq转发DNS的设置(7-6,未测试)
~替换部分在线生成服务器地址
~部分内容文字描述调整
This commit is contained in:
juewuy
2021-12-18 20:14:03 +08:00
parent 8b241be6c1
commit b315dee718
4 changed files with 45 additions and 16 deletions

View File

@@ -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