fix sizes

This commit is contained in:
Tobias Powalowski 2023-07-14 21:21:18 +02:00
parent 8725a0925e
commit 88cad1aa0f

View file

@ -206,17 +206,17 @@ _network() {
echo "Using setup's network profile ${_NETWORK_PROFILE} now..." >"${_LOG}" echo "Using setup's network profile ${_NETWORK_PROFILE} now..." >"${_LOG}"
systemctl restart systemd-networkd systemctl restart systemd-networkd
systemctl restart systemd-resolved systemctl restart systemd-resolved
_dialog --infobox "Waiting for network link to come up..." 3 60 _dialog --infobox "Waiting for network link to come up..." 3 70
# add sleep here for systemd-resolve get correct values # add sleep here for systemd-resolve get correct values
sleep 5 sleep 5
if ! getent hosts www.google.com &>"${_LOG}"; then if ! getent hosts www.google.com &>"${_LOG}"; then
_dialog --title " ERROR " --infobox "Your network is not working correctly, please configure again!" 3 60 _dialog --title " ERROR " --infobox "Your network is not working correctly, please configure again!" 3 70
sleep 5 sleep 5
return 1 return 1
fi fi
_dialog --infobox "Link is up. Network is ready." 3 60 _dialog --infobox "Link is up. Network is ready." 3 60
sleep 3 sleep 3
_dialog --infobox "Network configuration completed successfully." 3 60 _dialog --infobox "Network configuration completed successfully." 3 70
sleep 3 sleep 3
return 0 return 0
} }