diff options
author | Bill Nottingham <notting@redhat.com> | 2006-08-17 14:14:07 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-08-17 14:14:07 +0000 |
commit | 53ac89b002ba45bb3692638459f4fbb39dde2bbc (patch) | |
tree | 8ed582bf2ca0e7baafb6c098561abed348e38cf2 /rc.d/init.d | |
parent | 6c9e008efcf6986fb03ac8cc01ad196af667cfe3 (diff) | |
download | initscripts-53ac89b002ba45bb3692638459f4fbb39dde2bbc.tar initscripts-53ac89b002ba45bb3692638459f4fbb39dde2bbc.tar.gz initscripts-53ac89b002ba45bb3692638459f4fbb39dde2bbc.tar.bz2 initscripts-53ac89b002ba45bb3692638459f4fbb39dde2bbc.tar.xz initscripts-53ac89b002ba45bb3692638459f4fbb39dde2bbc.zip |
don't umount /dev/root<foo> (<oblin@mandriva.com>)
Diffstat (limited to 'rc.d/init.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 be8fd559..26ecdcb8 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|sysfs|^none|^\/dev\/ram|^\/dev\/root$)/ {next} {print $2}' /proc/mounts \ $"Unmounting file systems: " \ $"Unmounting file systems (retry): " \ |