~修复dns局域网过滤失效的bug
~修复初始化脚本报错的bug ~尝试修复部分华硕设备开机启动失效的问题 ~尝试修复部分小米设备开机启动失效的问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user