~重写配置备份还原功能,现在改为备份还原完整/configs目录

This commit is contained in:
juewuy
2026-01-25 19:54:39 +08:00
parent 08afce3500
commit 4a1e49e1f0
2 changed files with 14 additions and 10 deletions

View File

@@ -216,7 +216,7 @@ sed -i '/shellclash/d' /etc/group
rm -rf /etc/init.d/clash
rm -rf "$CRASHDIR"/rules
[ "$systype" = "mi_snapshot" -a "$CRASHDIR" != '/data/clash' ] && rm -rf /data/clash
for file in webget.sh misnap_init.sh core.new; do
for file in webget.sh misnap_init.sh core.new configs/ShellCrash.cfg.bak; do
rm -f "$CRASHDIR/$file"
done
#旧版变量改名