Update start.sh
This commit is contained in:
parent
1dd8fcbcd5
commit
26a5628a85
3
start.sh
3
start.sh
|
@ -46,7 +46,8 @@ URL='更改为你的clash订阅地址'
|
||||||
# 检查url是否有效
|
# 检查url是否有效
|
||||||
Text1="Clash订阅地址可访问!"
|
Text1="Clash订阅地址可访问!"
|
||||||
Text2="Clash订阅地址不可访问!"
|
Text2="Clash订阅地址不可访问!"
|
||||||
curl -s --head $URL | head -n 1 | grep 'HTTP/1.[01] [23]..' > /dev/null
|
# curl -s --head $URL | head -n 1 | grep 'HTTP/1.[01] [23]..' > /dev/null
|
||||||
|
wget -q -O /dev/null $URL
|
||||||
if_success $Text1 $Text2
|
if_success $Text1 $Text2
|
||||||
|
|
||||||
# 临时取消环境变量
|
# 临时取消环境变量
|
||||||
|
|
Loading…
Reference in New Issue
Block a user