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/halt6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 6f6f738c..dc7bf0fc 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -172,12 +172,12 @@ do
done
[ -f /proc/bus/usb/devices ] && umount /proc/bus/usb
-# Try them all, one last time.
-umount -a -f
-
# remove the crash indicator flag
rm -f /.autofsck
+# Try them all, one last time.
+umount -a -f
+
# Remount read only anything that's left mounted.
#echo $"Remounting remaining filesystems (if any) readonly"
mount | awk '/( \/ |^\/dev\/root)/ { print $3 }' | while read line; do