same size of dialog

This commit is contained in:
Tobias Powalowski 2023-09-04 15:44:54 +02:00
parent 9b677e6b0d
commit 1137fedb13

View file

@ -51,7 +51,7 @@ _network_check() {
# abort after 10 seconds # abort after 10 seconds
_progress "$((_COUNT*10))" "Waiting $((10-_COUNT)) seconds for network link to come up..." _progress "$((_COUNT*10))" "Waiting $((10-_COUNT)) seconds for network link to come up..."
[[ "${_COUNT}" == 10 ]] && break [[ "${_COUNT}" == 10 ]] && break
done | _dialog --title " Network Configuration " --no-mouse --gauge "Waiting 10 seconds for network link to come up..." 6 60 0 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 if ! getent hosts www.google.com &>"${_NO_LOG}"; then
clear clear
echo -e "\e[91mAborting:\e[m" echo -e "\e[91mAborting:\e[m"