From db50c4a7fbc073b50c9af09ffefe2963fc0ed8a7 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 20 Nov 2006 21:53:21 +0000 Subject: don't unmount network mounts in halt (#200915) --- initscripts.spec | 1 + rc.d/init.d/halt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/initscripts.spec b/initscripts.spec index 73d22b05..2c4f589a 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -215,6 +215,7 @@ rm -rf $RPM_BUILD_ROOT - ifup: support aliases-on-vlan (#193133, ) - rc.sysinit: don't use vgscan, only use vgchange (#191879) - ifdown: run ifenslave -d on bonding devices (#199706) +- init.d/halt: don't try to unmount network mounts (#200915) * Fri Apr 21 2006 Miloslav Trmac - 7.93.25.EL-1 - Document HOTPLUG (#189509) diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 2a856913..a9ad72b2 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|sysfs|devfs|^none|^\/dev\/ram|^\/dev\/root)/ {next} + /(^#|loopfs|autofs|nfs|cifs|smbfs|sysfs|devfs|^none|^\/dev\/ram|^\/dev\/root)/ {next} {print $2}' /proc/mounts } -- cgit