From e9d7693047eb9858352ea58ae1891bcc49f6aa6e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 15 May 2008 12:11:24 -0400 Subject: Don't unmount sysfs in halt. (#446292) --- rc.d/init.d/halt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d/halt') 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 -- cgit v1.2.1