~修复新手引导按提示开启小闪存但后续扔继续提示的bug
~移除了clash系内核在线获取配置文件时调用内核进行校验的机制
This commit is contained in:
juewuy
2024-01-15 18:22:14 +08:00
parent 8abdab8843
commit 705ed82396
7 changed files with 6 additions and 13 deletions

View File

@@ -1756,7 +1756,10 @@ userguide(){
echo -e "\033[0m每次开机后首次运行服务时都会自动的重新下载相关文件\033[0m"
echo -----------------------------------------------
read -p "是否开启?(1/0) > " res
[ "$res" = 1 ] && setconfig BINDIR /tmp/ShellCrash ${CRASHDIR}/configs/command.env
[ "$res" = 1 ] && {
BINDIR=/tmp/ShellCrash
setconfig BINDIR /tmp/ShellCrash ${CRASHDIR}/configs/command.env
}
fi
#检测及下载根证书
if [ -d /etc/ssl/certs -a ! -f '/etc/ssl/certs/ca-certificates.crt' ];then