feat(脚本): 增加等待时间提示
parent
d6de9bde05
commit
59b950c9d2
|
@ -449,7 +449,7 @@ checkGFWStatue(){
|
||||||
if [[ "${globalType}" = "wss" ]]
|
if [[ "${globalType}" = "wss" ]]
|
||||||
then
|
then
|
||||||
|
|
||||||
sleep 1
|
sleep 3
|
||||||
if [[ ! -z `curl -s -L https://${domain}/${customPath}|grep -v grep|grep "Bad Request"` ]]
|
if [[ ! -z `curl -s -L https://${domain}/${customPath}|grep -v grep|grep "Bad Request"` ]]
|
||||||
then
|
then
|
||||||
progressTools "green" " 服务可用--->"
|
progressTools "green" " 服务可用--->"
|
||||||
|
@ -474,7 +474,8 @@ checkGFWStatue(){
|
||||||
fi
|
fi
|
||||||
elif [[ "${globalType}" = "vlesstcpws" ]]
|
elif [[ "${globalType}" = "vlesstcpws" ]]
|
||||||
then
|
then
|
||||||
sleep 1
|
progressTools "yellow" "等待三秒--->"
|
||||||
|
sleep 3
|
||||||
if [[ ! -z `curl -s -L https://${domain}/${customPath}|grep -v grep|grep "Bad Request"` ]]
|
if [[ ! -z `curl -s -L https://${domain}/${customPath}|grep -v grep|grep "Bad Request"` ]]
|
||||||
then
|
then
|
||||||
progressTools "green" " 服务可用--->"
|
progressTools "green" " 服务可用--->"
|
||||||
|
|
Loading…
Reference in New Issue