~修复小闪存模式更新内核失败的bug

~修复部分情况下本机代理导致dns失效的bug
~增加Mihomo内核direct-nameserver默认配置
This commit is contained in:
juewuy
2026-01-20 21:51:57 +08:00
parent 4f9ffbb7d7
commit de7b57330e
4 changed files with 11 additions and 16 deletions

View File

@@ -132,5 +132,5 @@ ckcmd nft && nft delete table inet shellcrash >/dev/null 2>&1
#还原防火墙文件
[ -s /etc/init.d/firewall.bak ] && mv -f /etc/init.d/firewall.bak /etc/init.d/firewall
#others
[ "$systype" != 'container' ] && sed -i '/shellcrash-dns-repair/d' /etc/resolv.conf >/dev/null 2>&1
sed -i '/shellcrash-dns-repair/d' /etc/resolv.conf 2>/dev/null