From 44b05e126f1abb6ba75d23dc0bf911c6e2c5c0f6 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Tue, 28 Aug 2001 23:38:07 +0000 Subject: umount -a -f remounts / readonly? --- rc.d/init.d/halt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc.d/init.d') 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 -- cgit v1.2.1