From 5a6929a48486950b503c9443e03212c21d451a88 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 20 Nov 2006 21:55:11 +0000 Subject: don't unmount network filesystems --- 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 26ecdcb8..8fd5d268 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|nfs|cifs|smbfs|ncpfs|sysfs|^none|^\/dev\/ram|^\/dev\/root$)/ {next} {print $2}' /proc/mounts \ $"Unmounting file systems: " \ $"Unmounting file systems (retry): " \ -- cgit v1.2.1