feat(脚本): 增加等待时间提示

pull/534/merge
mack-a 2020-09-01 17:59:22 +08:00
parent d6de9bde05
commit 59b950c9d2
1 changed files with 3 additions and 2 deletions

View File

@ -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" " 服务可用--->"