summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-09-10 11:36:39 +0200
committerSimon Rettberg2019-09-10 11:36:39 +0200
commitc27d8832ebf01571573fa7508c31e30c489e1d5c (patch)
tree4ee3982a8265e905a4783e6fb4d5353d2eeac7b2
parent[rootfs-stage31] More brain damage trying to get stubborn NICs to work (diff)
downloadmltk-c27d8832ebf01571573fa7508c31e30c489e1d5c.tar.gz
mltk-c27d8832ebf01571573fa7508c31e30c489e1d5c.tar.xz
mltk-c27d8832ebf01571573fa7508c31e30c489e1d5c.zip
[rootfs-stage31] Add more brain damage to setup_network_retry
... in a desperate attempt to get stubborn NICs to work ...
-rw-r--r--core/rootfs/rootfs-stage31/data/inc/setup_network_retry4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/rootfs/rootfs-stage31/data/inc/setup_network_retry b/core/rootfs/rootfs-stage31/data/inc/setup_network_retry
index 98701e91..76923703 100644
--- a/core/rootfs/rootfs-stage31/data/inc/setup_network_retry
+++ b/core/rootfs/rootfs-stage31/data/inc/setup_network_retry
@@ -17,13 +17,13 @@ for i in 1 2 3 4 5 6 7 8; do
wait_for_iface "$IFACE" "$(( 15 + i * 2 ))"
retval=$?
ip link set dev "$BRIDGE" up
- if [ "$retval" -eq 0 ] && [ "$i" -gt 4 ] && [ -n "$CLIENTIP" ] && [ -n "$GATEWAY" ]; then
+ if [ "$retval" -eq 0 ] && [ "$i" -ge 4 ] && [ -n "$CLIENTIP" ] && [ -n "$GATEWAY" ]; then
echo "....."
usleep 100000
echo "Checking if static IP config works...."
if ping -c1 -w2 "$GATEWAY" &> /dev/null || ping -c1 -w2 "$SERVERIP" &> /dev/null; then
echo "apparently so."
- echo "Trying to boot without DHCP config, YMMV!"
+ echo "Trying to boot without DHCP config (DNS, Hostname, ...), YMMV!"
sleep 3
RET=0
break