v1.0.0beta16.3
~修复部分设备启动时报错的bug ~大幅度优化新手引导 ~新增小闪存模式,适合ROM大小较低的设备使用 ~全新的下载机制,现在会在运行时自动下载核心文件 ~修复部分设备tun模式不可启用的bug
This commit is contained in:
Binary file not shown.
@@ -1,4 +1,4 @@
|
|||||||
clash_v=1.2.0
|
clash_v=1.2.0
|
||||||
clashpre_v=2020.10.26
|
clashpre_v=2020.10.26
|
||||||
GeoIP_v=20201031
|
GeoIP_v=20201031
|
||||||
versionsh=1.0.0beta16.2
|
versionsh=1.0.0beta16.3
|
||||||
|
|||||||
@@ -418,6 +418,8 @@ EOF
|
|||||||
[ "$?" = 0 ] && rm -rf /tmp/clash_pac || mv -f /tmp/clash_pac $bindir/ui/pac
|
[ "$?" = 0 ] && rm -rf /tmp/clash_pac || mv -f /tmp/clash_pac $bindir/ui/pac
|
||||||
}
|
}
|
||||||
bfstart(){
|
bfstart(){
|
||||||
|
#读取配置文件
|
||||||
|
getconfig
|
||||||
[ ! -d $bindir/ui ] && mkdir -p $bindir/ui
|
[ ! -d $bindir/ui ] && mkdir -p $bindir/ui
|
||||||
[ -z "$update_url" ] && update_url=https://cdn.jsdelivr.net/gh/juewuy/ShellClash@master
|
[ -z "$update_url" ] && update_url=https://cdn.jsdelivr.net/gh/juewuy/ShellClash@master
|
||||||
#检查clash核心
|
#检查clash核心
|
||||||
@@ -484,7 +486,7 @@ afstart(){
|
|||||||
else
|
else
|
||||||
logger "clash服务启动失败!请查看报错信息!" 31
|
logger "clash服务启动失败!请查看报错信息!" 31
|
||||||
logger `$bindir/clash -t -d $bindir 1>&0` 0
|
logger `$bindir/clash -t -d $bindir 1>&0` 0
|
||||||
$0 stop &
|
$0 stop
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user