~修复部分linux设备使用meta内核开机自启后无法正确还原面板节点及配置的问题
~修复使用clash内核启用域名嗅探后,因未能正确切换内核而导致的启动失败
~修复卸载后部分定时任务未能正确移除的bug
~修复下载或更新meta内核时的显示bug
This commit is contained in:
juewuy
2024-01-26 14:11:04 +08:00
parent 973900c52e
commit 7d0310c263
8 changed files with 13 additions and 10 deletions

View File

@@ -1466,7 +1466,7 @@ advanced_set(){ #进阶设置
echo -----------------------------------------------
if [ "$sniffer" = "未启用" ];then
if [ "$crashcore" = "clash" ];then
rm -rf ${BINDIR}/clash
rm -rf ${BINDIR}/CrashCore
crashcore=meta
setconfig crashcore $crashcore
echo "已将ShellCrash内核切换为Meta内核域名嗅探依赖Meta或者高版本clashpre内核"
@@ -1562,6 +1562,7 @@ uninstall(){
${CRASHDIR}/start.sh cronset "clash服务" 2>/dev/null
${CRASHDIR}/start.sh cronset "订阅链接" 2>/dev/null
${CRASHDIR}/start.sh cronset "ShellCrash初始化" 2>/dev/null
${CRASHDIR}/start.sh cronset "task.sh" 2>/dev/null
read -p "是否保留脚本配置及订阅文件?[1/0] > " res
if [ "$res" = '1' ]; then
mv -f ${CRASHDIR}/configs /tmp/ShellCrash