From e758d4058576dab4a81b6fe5fb376b0ff8fd2635 Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Mon, 15 Jan 2007 09:15:53 +0000 Subject: * Mon Jan 15 2007 Miloslav Trmac - 7.93.27.EL-1 - Do unmount network mounts, not doing so can prevent other unmounting other filesystems Reverts: #200915 --- 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 bfb48cf6..2a856913 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -25,7 +25,7 @@ runcmd() { halt_get_remaining() { awk '$2 ~ /^\/$|^\/proc|^\/dev/{next} $3 == "tmpfs" || $3 == "proc" {print $2 ; next} - /(^#|loopfs|autofs|nfs|cifs|ncpfs|smbfs|sysfs|devfs|^none|^\/dev\/ram|^\/dev\/root)/ {next} + /(^#|loopfs|autofs|sysfs|devfs|^none|^\/dev\/ram|^\/dev\/root)/ {next} {print $2}' /proc/mounts } -- cgit