v1.4.1-test

~适配部分没有crontab的梅林设备
~不再使用cat对比yaml配置文件
~修复部分设备无法正常开机启动的bug
This commit is contained in:
juewuy
2021-06-26 15:11:07 +08:00
parent 35e998e697
commit 1b83ca2a39
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@@ -1,4 +1,4 @@
clash_v=1.6.0 clash_v=1.6.0
clashpre_v=2021.05.08 clashpre_v=2021.05.08
GeoIP_v=20210623 GeoIP_v=20210623
versionsh=1.4.1-test versionsh=1.4.1

View File

@@ -1233,6 +1233,7 @@ clashsh(){
localproxy localproxy
elif [ "$autostart" = "enable_rc" ]; then elif [ "$autostart" = "enable_rc" ]; then
/etc/init.d/clash disable /etc/init.d/clash disable
cd /etc/rc.d && rm -rf *clash > /dev/null 2>&1 && cd - >/dev/null
echo -e "\033[33m已禁止Clash开机启动\033[0m" echo -e "\033[33m已禁止Clash开机启动\033[0m"
elif [ "$autostart" = "disable_rc" ]; then elif [ "$autostart" = "disable_rc" ]; then
/etc/init.d/clash enable /etc/init.d/clash enable