aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
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