aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/lfs/init.d/network2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootscripts/lfs/init.d/network b/bootscripts/lfs/init.d/network
index 91c52e085..5b2dd9b97 100644
--- a/bootscripts/lfs/init.d/network
+++ b/bootscripts/lfs/init.d/network
@@ -29,6 +29,8 @@
case "${1}" in
start)
+ # if the default route exists, network is already configured
+ if ip route | grep -q "^default"; then return 0; fi
# Start all network interfaces
for file in /etc/sysconfig/ifconfig.*
do