diff options
author | Bill Nottingham <notting@redhat.com> | 2004-01-28 06:22:29 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-01-28 06:22:29 +0000 |
commit | 04adea8a2a33824739e6e3690880ff863c1d41da (patch) | |
tree | 358bf4dd1f39be089b1f4ee5bc5edc0682dc30cb | |
parent | 5953ff77d891ec8cd5d8efffd98450fa52ac544a (diff) | |
download | initscripts-04adea8a2a33824739e6e3690880ff863c1d41da.tar initscripts-04adea8a2a33824739e6e3690880ff863c1d41da.tar.gz initscripts-04adea8a2a33824739e6e3690880ff863c1d41da.tar.bz2 initscripts-04adea8a2a33824739e6e3690880ff863c1d41da.tar.xz initscripts-04adea8a2a33824739e6e3690880ff863c1d41da.zip |
don't umount /sys
-rwxr-xr-x | rc.d/init.d/halt | 2 |
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 |