~修复本地安装报错的bug
~手动上传内核时,增加报错机制
This commit is contained in:
juewuy
2023-01-20 14:54:46 +08:00
parent 15461b3fdd
commit 4124a2e458
2 changed files with 26 additions and 19 deletions

View File

@@ -140,7 +140,7 @@ $clashdir/start.sh stop 2>/dev/null #防止进程冲突
}
#移动文件
mkdir -p $clashdir
[ -f /tmp/SC_tmp/* ] && mv -f /tmp/SC_tmp/* $clashdir
mv -f /tmp/SC_tmp/* $clashdir 2>/dev/null
#初始化
[ -f "$clashdir/mark" ] || echo '#ShellClash配置文件不明勿动' > $clashdir/mark