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