~修复无法正常开机启动的bug
This commit is contained in:
juewuy
2020-08-07 13:04:50 +08:00
parent e81df087b1
commit 433951f987
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@@ -6,6 +6,8 @@ USE_PROCD=1
START=99
getconfig(){
#开机加载环境变量保证找到文件路径
source /etc/profile > /dev/null 2>&1
ccfg=$clashdir/mark
if [ ! -f "$ccfg" ]; then
echo mark文件不存在默认以Redir模式运行