diff options
author | Bill Nottingham <notting@redhat.com> | 2006-11-29 00:06:04 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-11-29 00:06:04 +0000 |
commit | bf9b86147bbaeae6ee276bdc00d465496d1c7612 (patch) | |
tree | 1fe7b2a8aba99deb0151708684da9ce1c3a6a20a /rc.d | |
parent | dbc60a0fcf2263388fadd88f584aa1fbaa9aa328 (diff) | |
download | initscripts-bf9b86147bbaeae6ee276bdc00d465496d1c7612.tar initscripts-bf9b86147bbaeae6ee276bdc00d465496d1c7612.tar.gz initscripts-bf9b86147bbaeae6ee276bdc00d465496d1c7612.tar.bz2 initscripts-bf9b86147bbaeae6ee276bdc00d465496d1c7612.tar.xz initscripts-bf9b86147bbaeae6ee276bdc00d465496d1c7612.zip |
- don't unmount network file systems (#217625)r8-45-10-EL
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 2 |
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): " \ |