diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 8f2a30ca..2a856913 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -23,9 +23,9 @@ runcmd() { } halt_get_remaining() { - awk '$2 ~ /^\/$|^\/proc|^\/sys|^\/dev/{next} + awk '$2 ~ /^\/$|^\/proc|^\/dev/{next} $3 == "tmpfs" || $3 == "proc" {print $2 ; next} - /(^#|loopfs|autofs|devfs|^none|^\/dev\/ram|^\/dev\/root)/ {next} + /(^#|loopfs|autofs|sysfs|devfs|^none|^\/dev\/ram|^\/dev\/root)/ {next} {print $2}' /proc/mounts } |