v1.8.7c
~clash命令改为依旧可用 ~修复新手引导按提示开启小闪存但后续扔继续提示的bug ~移除了clash系内核在线获取配置文件时调用内核进行校验的机制
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -51,8 +51,10 @@ init(){
|
||||
done
|
||||
#初始化环境变量
|
||||
sed -i "/alias crash/d" $profile
|
||||
sed -i "/alias clash/d" $profile
|
||||
sed -i "/export CRASHDIR/d" $profile
|
||||
echo "alias crash=\"sh $CRASHDIR/menu.sh\"" >>$profile
|
||||
echo "alias clash=\"sh $CRASHDIR/menu.sh\"" >>$profile
|
||||
echo "export CRASHDIR=\"$CRASHDIR\"" >>$profile
|
||||
#软固化功能
|
||||
autoSSH
|
||||
|
||||
@@ -1753,8 +1753,10 @@ init)
|
||||
fi
|
||||
fi
|
||||
sed -i "/alias crash/d" $profile
|
||||
sed -i "/alias clash/d" $profile
|
||||
sed -i "/export CRASHDIR/d" $profile
|
||||
echo "alias crash=\"$CRASHDIR/menu.sh\"" >> $profile
|
||||
echo "alias clash=\"$CRASHDIR/menu.sh\"" >> $profile
|
||||
echo "export CRASHDIR=\"$CRASHDIR\"" >> $profile
|
||||
[ -f ${CRASHDIR}/.dis_startup ] && cronset "保守模式守护进程" || $0 start
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user