aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorMiloslav Trmac <mitr@volny.cz>2006-04-18 20:17:06 +0000
committerMiloslav Trmac <mitr@volny.cz>2006-04-18 20:17:06 +0000
commit4303e664ad654214837b2e6115796e44b89511ae (patch)
tree9be3c8020b0f41e80794c61e6029394c0f5654da /rc.d
parent30d62ff8c984b0eb975f34096ce17c40f8f1f9fc (diff)
downloadinitscripts-4303e664ad654214837b2e6115796e44b89511ae.tar
initscripts-4303e664ad654214837b2e6115796e44b89511ae.tar.gz
initscripts-4303e664ad654214837b2e6115796e44b89511ae.tar.bz2
initscripts-4303e664ad654214837b2e6115796e44b89511ae.tar.xz
initscripts-4303e664ad654214837b2e6115796e44b89511ae.zip
Add NETWORKDELAY and LINKDELAY (#176851)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 2a287dd6..8e0255b5 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -166,6 +166,8 @@ 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,