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" ]]
then
sleep 1
sleep 3
if [[ ! -z `curl -s -L https://${domain}/${customPath}|grep -v grep|grep "Bad Request"` ]]
then
progressTools "green" " 服务可用--->"
@ -474,7 +474,8 @@ checkGFWStatue(){
fi
elif [[ "${globalType}" = "vlesstcpws" ]]
then
sleep 1
progressTools "yellow" "等待三秒--->"
sleep 3
if [[ ! -z `curl -s -L https://${domain}/${customPath}|grep -v grep|grep "Bad Request"` ]]
then
progressTools "green" " 服务可用--->"