From 747e9db1604cc27ec2ab15e829656172f1986ab4 Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Tue, 18 Apr 2006 20:11:45 +0000 Subject: Add NETWORKDELAY and LINKDELAY (#176851) --- rc.d/init.d/network | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rc.d') 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 -- cgit v1.2.1