mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
wait 20 seconds on network connection
This commit is contained in:
parent
dc10f71da5
commit
ffb344ef0e
1 changed files with 3 additions and 3 deletions
|
@ -48,9 +48,9 @@ _network_check() {
|
|||
break
|
||||
fi
|
||||
_COUNT=$((_COUNT+1))
|
||||
# abort after 10 seconds
|
||||
_progress "$((_COUNT*10))" "Waiting $((10-_COUNT)) seconds for network link to come up..."
|
||||
[[ "${_COUNT}" == 10 ]] && break
|
||||
# abort after 20 seconds
|
||||
_progress "$((_COUNT*20))" "Waiting $((20-_COUNT)) seconds for network link to come up..."
|
||||
[[ "${_COUNT}" == 20 ]] && break
|
||||
done | _dialog --title " Network Configuration " --no-mouse --gauge "Waiting 10 seconds for network link to come up..." 6 75 0
|
||||
if ! getent hosts www.google.com &>"${_NO_LOG}"; then
|
||||
clear
|
||||
|
|
Loading…
Reference in a new issue