Merge pull request #342 from fbelavenuto/more-timeout

Changed IP timeout to 30 secs
This commit is contained in:
Fabio Belavenuto 2022-11-22 08:49:56 -03:00 committed by GitHub
commit 8f5887c06e
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ while true; do
if [ -n "${IP}" ]; then if [ -n "${IP}" ]; then
echo -e ": \033[1;32m${IP}\033[0m" echo -e ": \033[1;32m${IP}\033[0m"
break break
elif [ ${COUNT} -eq 15 ]; then elif [ ${COUNT} -eq 30 ]; then
echo -e ": \033[1;31mERROR\033[0m" echo -e ": \033[1;31mERROR\033[0m"
break break
fi fi

View File

@ -160,7 +160,7 @@ fi
COUNT=0 COUNT=0
echo -n "Waiting IP." echo -n "Waiting IP."
while true; do while true; do
if [ ${COUNT} -eq 15 ]; then if [ ${COUNT} -eq 30 ]; then
echo "ERROR" echo "ERROR"
break break
fi fi