Update start.sh

对 curl 下载订阅地址进行优化。
This commit is contained in:
wanhebin 2023-06-09 13:29:28 +08:00 committed by GitHub
parent 3668e6cfec
commit e44d96aaaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ Text3="配置文件config.yaml下载成功"
Text4="配置文件config.yaml下载失败退出启动"
for i in {1..10}
do
#curl -s -o $Temp_Dir/clash.yaml $URL
#curl -L -k -sS --retry 3 -m 10 -o $Temp_Dir/clash.yaml $URL
wget -q --no-check-certificate -O $Temp_Dir/clash.yaml $URL
ReturnStatus=$?
if [ $ReturnStatus -eq 0 ]; then