summaryrefslogtreecommitdiffstats
path: root/remote/rootfs/rootfs-stage31/data/init
diff options
context:
space:
mode:
Diffstat (limited to 'remote/rootfs/rootfs-stage31/data/init')
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init6
1 files changed, 4 insertions, 2 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index c9adadeb..d363db51 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -77,8 +77,10 @@ yes)
esac
[ $DEBUG -ge 4 ] && drop_shell "Requested Debug Shell: before network."
-
-. "/inc/setup_network" || . "/inc/setup_network_retry" || drop_shell "Error setting up network"
+. "/inc/setup_network"
+if [ "$?" -ne 0 -a "x$HDD" = "x" ]; then
+ . "/inc/setup_network_retry" || drop_shell "Error setting up network"
+fi
bench_event "NETWORK" "Network up and running"
[ $DEBUG -ge 3 ] && drop_shell "Requested Debug Shell: after network/before configuring."