~增加了自动还原面板设置的功能(singbox内核未支持此功能)
~优化了singbox的tun网卡默认网段,与clash内核统一,防止回环等问题
~修复了dns模式为mix时,常用端口过滤会导致部分地址无法访问的问题
~修复了部分旧设备保持面板节点出错的问题
~修复了新手引导的部分报错问题
This commit is contained in:
juewuy
2024-01-21 19:26:13 +08:00
parent 85547ab863
commit 9f0a2f8e1a
8 changed files with 43 additions and 34 deletions

View File

@@ -1726,8 +1726,8 @@ userguide(){
setconfig ipv6_dns 已开启
}
#设置开机启动
[ -f /etc/rc.common ] && /etc/init.d/CrashCore enable
ckcmd systemctl && systemctl enable shellcrash.service > /dev/null 2>&1
[ -f /etc/rc.common -a "$(cat /proc/1/comm)" = "procd" ] && /etc/init.d/shellcrash enable
ckcmd systemctl && [ "$(cat /proc/1/comm)" = "systemd" ] && systemctl enable shellcrash.service > /dev/null 2>&1
rm -rf ${CRASHDIR}/.dis_startup
autostart=enable
#检测IP转发