aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-01-28 06:22:29 +0000
committerBill Nottingham <notting@redhat.com>2004-01-28 06:22:29 +0000
commit04adea8a2a33824739e6e3690880ff863c1d41da (patch)
tree358bf4dd1f39be089b1f4ee5bc5edc0682dc30cb /rc.d/init.d
parent5953ff77d891ec8cd5d8efffd98450fa52ac544a (diff)
downloadinitscripts-04adea8a2a33824739e6e3690880ff863c1d41da.tar
initscripts-04adea8a2a33824739e6e3690880ff863c1d41da.tar.gz
initscripts-04adea8a2a33824739e6e3690880ff863c1d41da.tar.bz2
initscripts-04adea8a2a33824739e6e3690880ff863c1d41da.tar.xz
initscripts-04adea8a2a33824739e6e3690880ff863c1d41da.zip
don't umount /sys
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/halt2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 8d9c3846..4b3bdb8f 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -23,7 +23,7 @@ runcmd() {
}
halt_get_remaining() {
- awk '$2 ~ /^\/$|^\/proc|^\/dev/{next}
+ awk '$2 ~ /^\/$|^\/proc|^\/sys|^\/dev/{next}
$3 == "tmpfs" || $3 == "proc" {print $2 ; next}
/(^#|loopfs|autofs|devfs|^none|^\/dev\/ram|^\/dev\/root)/ {next}
{print $2}' /proc/mounts