mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix sizes
This commit is contained in:
parent
8725a0925e
commit
88cad1aa0f
1 changed files with 3 additions and 3 deletions
|
@ -206,17 +206,17 @@ _network() {
|
|||
echo "Using setup's network profile ${_NETWORK_PROFILE} now..." >"${_LOG}"
|
||||
systemctl restart systemd-networkd
|
||||
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
|
||||
sleep 5
|
||||
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
|
||||
return 1
|
||||
fi
|
||||
_dialog --infobox "Link is up. Network is ready." 3 60
|
||||
sleep 3
|
||||
_dialog --infobox "Network configuration completed successfully." 3 60
|
||||
_dialog --infobox "Network configuration completed successfully." 3 70
|
||||
sleep 3
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue