From a3761f9b1480fb6bcd6710600c0056cef721ebcc Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 8 Mar 2000 16:20:36 +0000 Subject: check that a device is up before bringing it down --- rc.d/init.d/halt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d/halt') diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index d65fef40..857db62d 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -71,7 +71,7 @@ remaining=`awk '!/(^#|proc|loopfs|^none|^\/dev\/root| \/ )/ {print $2}' /proc/mo while [ -n "$remaining" -a "$retry" -gt 0 ] do if [ "$retry" -lt 3 ]; then - runcmd "Unmounting file systems" umount -a -f -t noproc + runcmd "Unmounting file systems (retry)" umount -a -f -t noproc else runcmd "Unmounting file systems" umount -a -f -t noproc fi -- cgit v1.2.1