summaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/network4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 535fbf58..e2060ae0 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -177,7 +177,9 @@ case "$1" in
sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
touch /var/lock/subsys/network
- ;;
+
+ [ -n "${NETWORKDELAY}" ] && /bin/sleep ${NETWORKDELAY}
+ ;;
stop)
# If this is a final shutdown/halt, check for network FS,
# and unmount them even if the user didn't turn on netfs