remove check on interface up

This commit is contained in:
Tobias Powalowski 2023-01-12 23:16:14 +01:00
parent c25017686c
commit d5d46d6717

View file

@ -177,12 +177,8 @@ _donetwork() {
_dialog --msgbox "Error:\nYour network is not working correctly, please configure again!" 6 70
return 1
fi
if ! grep -qw up /sys/class/net/"${_INTERFACE}"/operstate; then
_dialog --msgbox "Error:\nYour network is not working correctly, please configure again!" 4 70
return 1
else
_dialog --infobox "Link is up. Continuing in 3 seconds ..." 3 60
sleep 3
_dialog --infobox "Link is up. Continuing in 3 seconds ..." 3 60
sleep 3
fi
_NEXTITEM="2"
_S_NET=1