mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 07:51:45 +00:00
~增加自启检测,修复反复自启导致死机循环的bug
~优化本地ipv4路由网段获取,修复Tailscale通告相关问题 ~修复由于公网防火墙导致的本机及容器代理查询dns失败的相关bug ~修复entware环境兼容问题 ~修复部分版本wget命令兼容问题 ~修复保存面板节点功能相关bug ~修复singbox内核禁用配置覆写后启动失败的bug
This commit is contained in:
@@ -102,7 +102,7 @@ grep -q 'firewall_mod' "$CRASHDIR/configs/ShellClash.cfg" 2>/dev/null || {
|
||||
#设置更新地址
|
||||
[ -n "$url" ] && setconfig update_url $url
|
||||
#设置环境变量
|
||||
[ -w /opt/etc/profile ] && profile=/opt/etc/profile
|
||||
[ -w /opt/etc/profile ] && [ "$systype" = "Padavan" ] && profile=/opt/etc/profile
|
||||
[ -w /jffs/configs/profile.add ] && profile=/jffs/configs/profile.add
|
||||
[ -z "$profile" ] && profile=/etc/profile
|
||||
if [ -n "$profile" ]; then
|
||||
|
||||
Reference in New Issue
Block a user