aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/halt
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-11-20 21:55:11 +0000
committerBill Nottingham <notting@redhat.com>2006-11-20 21:55:11 +0000
commit5a6929a48486950b503c9443e03212c21d451a88 (patch)
tree6b66db84ac4ca2e8a732442c5fafee7d822c70ca /rc.d/init.d/halt
parent95df8790905e2fc333aeb366b0bd55df99d1ae28 (diff)
downloadinitscripts-5a6929a48486950b503c9443e03212c21d451a88.tar
initscripts-5a6929a48486950b503c9443e03212c21d451a88.tar.gz
initscripts-5a6929a48486950b503c9443e03212c21d451a88.tar.bz2
initscripts-5a6929a48486950b503c9443e03212c21d451a88.tar.xz
initscripts-5a6929a48486950b503c9443e03212c21d451a88.zip
don't unmount network filesystems
Diffstat (limited to 'rc.d/init.d/halt')
-rwxr-xr-xrc.d/init.d/halt2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 26ecdcb8..8fd5d268 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -164,7 +164,7 @@ __umount_loop '$3 ~ /^rpc_pipefs$/ || $3 ~ /^rpc_svc_gss_pipefs$/ {print $2}' \
LANG=C __umount_loop '$2 ~ /^\/$|^\/proc|^\/dev/{next}
$3 == "tmpfs" || $3 == "proc" {print $2 ; next}
- /(loopfs|autofs|sysfs|^none|^\/dev\/ram|^\/dev\/root$)/ {next}
+ /(loopfs|autofs|nfs|cifs|smbfs|ncpfs|sysfs|^none|^\/dev\/ram|^\/dev\/root$)/ {next}
{print $2}' /proc/mounts \
$"Unmounting file systems: " \
$"Unmounting file systems (retry): " \