aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-08-14 02:01:23 +0000
committerBill Nottingham <notting@redhat.com>2002-08-14 02:01:23 +0000
commit03bfe164c8be467ed34cb650e4ac22708570f3aa (patch)
treeb258c43f8d7971079cfd0d4559f2e091399a5706 /rc.d
parentebcdac2bfdf508b972ba3e2867ef80bce00e1ef0 (diff)
downloadinitscripts-03bfe164c8be467ed34cb650e4ac22708570f3aa.tar
initscripts-03bfe164c8be467ed34cb650e4ac22708570f3aa.tar.gz
initscripts-03bfe164c8be467ed34cb650e4ac22708570f3aa.tar.bz2
initscripts-03bfe164c8be467ed34cb650e4ac22708570f3aa.tar.xz
initscripts-03bfe164c8be467ed34cb650e4ac22708570f3aa.zip
fix tmpfs umounts (#68178, <tjko@iki.fi>)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/halt1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index a9732185..9c27a847 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -25,6 +25,7 @@ runcmd() {
halt_get_remaining() {
awk '!/(^#|proc|loopfs|autofs|devfs|^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts
awk '{ if ($3 ~ /^proc$/ && $2 !~ /^\/proc/) print $2; }' /proc/mounts
+ awk '{ if ($3 ~ /^tmpfs$/ && $2 !~ /^\/dev/) print $2; }' /proc/mounts
}
# See how we were called.