更新配置文件下载方式
This commit is contained in:
parent
dafb5d8d90
commit
9818425c25
2
start.sh
2
start.sh
|
@ -77,8 +77,8 @@ Text3="配置文件config.yaml下载成功!"
|
||||||
Text4="配置文件config.yaml下载失败,退出启动!"
|
Text4="配置文件config.yaml下载失败,退出启动!"
|
||||||
for i in {1..10}
|
for i in {1..10}
|
||||||
do
|
do
|
||||||
wget -q -O $Temp_Dir/clash.yaml $URL
|
|
||||||
#curl -s -o $Temp_Dir/clash.yaml $URL
|
#curl -s -o $Temp_Dir/clash.yaml $URL
|
||||||
|
wget -q -O $Temp_Dir/clash.yaml $URL
|
||||||
ReturnStatus=$?
|
ReturnStatus=$?
|
||||||
if [ $ReturnStatus -eq 0 ]; then
|
if [ $ReturnStatus -eq 0 ]; then
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue
Block a user