mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-10 23:41:22 +00:00
~增加自启检测,修复反复自启导致死机循环的bug
~优化本地ipv4路由网段获取,修复Tailscale通告相关问题 ~修复由于公网防火墙导致的本机及容器代理查询dns失败的相关bug ~修复entware环境兼容问题 ~修复部分版本wget命令兼容问题 ~修复保存面板节点功能相关bug ~修复singbox内核禁用配置覆写后启动失败的bug
This commit is contained in:
@@ -32,7 +32,8 @@ webget(){
|
||||
result=$(curl $agent -w '%{http_code}' --connect-timeout 3 $progress $redirect $certificate -o "$1" "$url")
|
||||
fi
|
||||
[ "$result" = "200" ] && return 0 #成功则退出否则重试
|
||||
export all_proxy=""
|
||||
export https_proxy=""
|
||||
export http_proxy=""
|
||||
result=$(curl $agent -w '%{http_code}' --connect-timeout 5 $progress $redirect $certificate -o "$1" "$2")
|
||||
[ "$result" = "200" ]
|
||||
return $?
|
||||
|
||||
Reference in New Issue
Block a user