~调整内核下载功能

~bug修复
~找回误删的防止dnsmasq重定向功能
This commit is contained in:
juewuy
2026-01-02 11:28:27 +08:00
parent b35f483652
commit 40a01428a5
5 changed files with 33 additions and 46 deletions

View File

@@ -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"