mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 16:01:28 +00:00
~调整内核下载功能
~bug修复 ~找回误删的防止dnsmasq重定向功能
This commit is contained in:
@@ -213,8 +213,8 @@ 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 tools webget.sh misnap_init.sh core.new; do
|
||||
rm -rf "$CRASHDIR/$file"
|
||||
for file in webget.sh misnap_init.sh core.new; do
|
||||
rm -f "$CRASHDIR/$file"
|
||||
done
|
||||
#旧版变量改名
|
||||
sed -i "s/clashcore/crashcore/g" "$CFG_PATH"
|
||||
|
||||
Reference in New Issue
Block a user