diff options
author | Michael K. Johnson <johnsonm@redhat.com> | 2001-08-28 23:38:07 +0000 |
---|---|---|
committer | Michael K. Johnson <johnsonm@redhat.com> | 2001-08-28 23:38:07 +0000 |
commit | 44b05e126f1abb6ba75d23dc0bf911c6e2c5c0f6 (patch) | |
tree | 2551347c4fbbaa4eb402e3793beaa040d5675812 | |
parent | e34422a53774e11b53f65b39c47dd0abafb9b9ac (diff) | |
download | initscripts-44b05e126f1abb6ba75d23dc0bf911c6e2c5c0f6.tar initscripts-44b05e126f1abb6ba75d23dc0bf911c6e2c5c0f6.tar.gz initscripts-44b05e126f1abb6ba75d23dc0bf911c6e2c5c0f6.tar.bz2 initscripts-44b05e126f1abb6ba75d23dc0bf911c6e2c5c0f6.tar.xz initscripts-44b05e126f1abb6ba75d23dc0bf911c6e2c5c0f6.zip |
umount -a -f remounts / readonly?
-rwxr-xr-x | rc.d/init.d/halt | 6 |
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 |