aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/net.hotplug3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/net.hotplug b/sysconfig/network-scripts/net.hotplug
index b59d87e4..543fb541 100755
--- a/sysconfig/network-scripts/net.hotplug
+++ b/sysconfig/network-scripts/net.hotplug
@@ -9,6 +9,9 @@ fi
case $ACTION in
add|register)
# Don't do anything if the network is stopped
+ if [ -f /dev/.in_sysinit ] ; then
+ exit 0
+ fi
if [ ! -f /var/lock/subsys/network ]; then
exit 0
fi