mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Merge pull request #342 from fbelavenuto/more-timeout
Changed IP timeout to 30 secs
This commit is contained in:
commit
8f5887c06e
@ -128,7 +128,7 @@ while true; do
|
||||
if [ -n "${IP}" ]; then
|
||||
echo -e ": \033[1;32m${IP}\033[0m"
|
||||
break
|
||||
elif [ ${COUNT} -eq 15 ]; then
|
||||
elif [ ${COUNT} -eq 30 ]; then
|
||||
echo -e ": \033[1;31mERROR\033[0m"
|
||||
break
|
||||
fi
|
||||
|
@ -160,7 +160,7 @@ fi
|
||||
COUNT=0
|
||||
echo -n "Waiting IP."
|
||||
while true; do
|
||||
if [ ${COUNT} -eq 15 ]; then
|
||||
if [ ${COUNT} -eq 30 ]; then
|
||||
echo "ERROR"
|
||||
break
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user