mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 07:51:45 +00:00
~重写配置备份还原功能,现在改为备份还原完整/configs目录
This commit is contained in:
@@ -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
|
||||
#旧版变量改名
|
||||
|
||||
Reference in New Issue
Block a user