~修复dns局域网过滤失效的bug

~修复初始化脚本报错的bug
~尝试修复部分华硕设备开机启动失效的问题
~尝试修复部分小米设备开机启动失效的问题
This commit is contained in:
juewuy
2024-04-05 18:22:33 +08:00
parent 6eff925b1d
commit f5618ef3d8
4 changed files with 16 additions and 13 deletions

View File

@@ -43,10 +43,10 @@ tproxyfix(){
}
init(){
#等待启动完成
log_file=$(uci get system.@system[0].log_file)
while ! /sbin/ip a| grep -q lan; do
while ! ip a| grep -q lan; do
sleep 10
done
sleep 20
#初始化环境变量
sed -i "/alias crash/d" $profile
sed -i "/alias clash/d" $profile