From e44d96aaaafbdabed3ed3263817a2f561dd4262b Mon Sep 17 00:00:00 2001 From: wanhebin <48253420+wanhebin@users.noreply.github.com> Date: Fri, 9 Jun 2023 13:29:28 +0800 Subject: [PATCH] Update start.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 对 curl 下载订阅地址进行优化。 --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 32b9165..9689489 100755 --- a/start.sh +++ b/start.sh @@ -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