Update start.sh
对 curl 下载订阅地址进行优化。
This commit is contained in:
parent
3668e6cfec
commit
e44d96aaaa
2
start.sh
2
start.sh
|
@ -89,7 +89,7 @@ Text3="配置文件config.yaml下载成功!"
|
||||||
Text4="配置文件config.yaml下载失败,退出启动!"
|
Text4="配置文件config.yaml下载失败,退出启动!"
|
||||||
for i in {1..10}
|
for i in {1..10}
|
||||||
do
|
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
|
wget -q --no-check-certificate -O $Temp_Dir/clash.yaml $URL
|
||||||
ReturnStatus=$?
|
ReturnStatus=$?
|
||||||
if [ $ReturnStatus -eq 0 ]; then
|
if [ $ReturnStatus -eq 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user