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:11:24 -0400 |
commit | e9d7693047eb9858352ea58ae1891bcc49f6aa6e (patch) | |
tree | 59bc7f9e895dd7cc0290ad3746d66e5858bb8988 /rc.d | |
parent | 29f9a502cdd3535203f8dcd37e60b8cdc6a6e700 (diff) | |
download | initscripts-e9d7693047eb9858352ea58ae1891bcc49f6aa6e.tar initscripts-e9d7693047eb9858352ea58ae1891bcc49f6aa6e.tar.gz initscripts-e9d7693047eb9858352ea58ae1891bcc49f6aa6e.tar.bz2 initscripts-e9d7693047eb9858352ea58ae1891bcc49f6aa6e.tar.xz initscripts-e9d7693047eb9858352ea58ae1891bcc49f6aa6e.zip |
Don't unmount sysfs in halt. (#446292)
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 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 |