aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/killall
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-09-03 23:40:39 +0000
committerBill Nottingham <notting@redhat.com>2003-09-03 23:40:39 +0000
commiteef578ceb9d0339c661f1cbeb8ae8c99f7c4ddc0 (patch)
tree9a1f49740658f728a693b0ab33794e5be40f133d /rc.d/init.d/killall
parent21df148508c36e212db01c2655ae854f9eb659e5 (diff)
downloadinitscripts-eef578ceb9d0339c661f1cbeb8ae8c99f7c4ddc0.tar
initscripts-eef578ceb9d0339c661f1cbeb8ae8c99f7c4ddc0.tar.gz
initscripts-eef578ceb9d0339c661f1cbeb8ae8c99f7c4ddc0.tar.bz2
initscripts-eef578ceb9d0339c661f1cbeb8ae8c99f7c4ddc0.tar.xz
initscripts-eef578ceb9d0339c661f1cbeb8ae8c99f7c4ddc0.zip
fix shutdown with NFS root (#100556, <Julian.Blake@cern.ch>)
Diffstat (limited to 'rc.d/init.d/killall')
-rwxr-xr-xrc.d/init.d/killall3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/init.d/killall b/rc.d/init.d/killall
index 26f2c109..982ed2f3 100755
--- a/rc.d/init.d/killall
+++ b/rc.d/init.d/killall
@@ -9,6 +9,9 @@ for i in /var/lock/subsys/* ; do
# Get the subsystem name.
subsys=${i#/var/lock/subsys/}
+
+ # Networking could be needed for NFS root.
+ [ $subsys = network ] && continue
# Bring the subsystem down.
if [ -f /etc/init.d/$subsys.init ]; then