From 53ac89b002ba45bb3692638459f4fbb39dde2bbc Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 17 Aug 2006 14:14:07 +0000 Subject: don't umount /dev/root () --- rc.d/init.d/halt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d') 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): " \ -- cgit v1.2.1