aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-03-08 16:20:36 +0000
committerBill Nottingham <notting@redhat.com>2000-03-08 16:20:36 +0000
commita3761f9b1480fb6bcd6710600c0056cef721ebcc (patch)
treee1a35ec5f6a03c5ba8c1ee73fe48798ea83c3ea9 /rc.d
parented8fc799706e61e663d87cc4fd17c6455c22390b (diff)
downloadinitscripts-a3761f9b1480fb6bcd6710600c0056cef721ebcc.tar
initscripts-a3761f9b1480fb6bcd6710600c0056cef721ebcc.tar.gz
initscripts-a3761f9b1480fb6bcd6710600c0056cef721ebcc.tar.bz2
initscripts-a3761f9b1480fb6bcd6710600c0056cef721ebcc.tar.xz
initscripts-a3761f9b1480fb6bcd6710600c0056cef721ebcc.zip
check that a device is up before bringing it down
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/halt2
1 files changed, 1 insertions, 1 deletions
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