diff options
author | Bill Nottingham <notting@redhat.com> | 2008-05-15 12:11:24 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-05-15 12:17:43 -0400 |
commit | 0fb6027765ef9d9389fdac0a165e8d62100e0c19 (patch) | |
tree | 7612f932e577ad1f8ff584fc405a9ffb9779ba86 /rc.d/init.d/halt | |
parent | 6ea10962cfb581e79616f476ec1fe8707b0f73ef (diff) | |
download | initscripts-0fb6027765ef9d9389fdac0a165e8d62100e0c19.tar initscripts-0fb6027765ef9d9389fdac0a165e8d62100e0c19.tar.gz initscripts-0fb6027765ef9d9389fdac0a165e8d62100e0c19.tar.bz2 initscripts-0fb6027765ef9d9389fdac0a165e8d62100e0c19.tar.xz initscripts-0fb6027765ef9d9389fdac0a165e8d62100e0c19.zip |
Don't unmount sysfs in halt. (#446292)
Diffstat (limited to 'rc.d/init.d/halt')
-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 2eb77582..43250eec 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -153,7 +153,7 @@ rm -f /.autofsck # Try all file systems other than root, essential filesystems and RAM disks, # one last time. -awk '$2 !~ /\/(|dev|proc|selinux)$/ && $1 !~ /^\/dev\/ram/ { print $2 }' \ +awk '$2 !~ /\/(|dev|proc|selinux|sys)$/ && $1 !~ /^\/dev\/ram/ { print $2 }' \ /proc/mounts | sort -r | \ while read line; do fstab-decode umount -f $line |