aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-20 18:18:40 +0000
committerBill Nottingham <notting@redhat.com>1999-09-20 18:18:40 +0000
commite76bf80cda0151c2095f81d322f21cb1a9a09b60 (patch)
tree02a71c6c7096238598cb3ac1f9dfa6a5683fb578 /rc.d
parent8098cc6574062da4b2cb3014d378922cb3e77989 (diff)
downloadinitscripts-e76bf80cda0151c2095f81d322f21cb1a9a09b60.tar
initscripts-e76bf80cda0151c2095f81d322f21cb1a9a09b60.tar.gz
initscripts-e76bf80cda0151c2095f81d322f21cb1a9a09b60.tar.bz2
initscripts-e76bf80cda0151c2095f81d322f21cb1a9a09b60.tar.xz
initscripts-e76bf80cda0151c2095f81d322f21cb1a9a09b60.zip
typo
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/halt4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 6bfe6f99..7efea30b 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -67,7 +67,7 @@ OTHERSWAP=`awk '! /^Filename/ { print $1 }' /proc/swaps`
# Unmount file systems, killing processes if we have to.
sig=
retry=3
-remaining=`awk `!/(^#|proc|^none|^\/dev\/root)/ {print $2}' /proc/mounts`
+remaining=`awk '!/(^#|proc|^none|^\/dev\/root)/ {print $2}' /proc/mounts`
while [ -n "$remaining" -a "$retry" -gt 0 ]
do
if [ "$retry" -lt 3 ]; then
@@ -76,7 +76,7 @@ do
runcmd "Unmounting file systems" umount -a -f -t noproc
fi
sleep 2
- remaining=`awk `!/(^#|proc|^none|^\/dev\/root)/ {print $2}' /proc/mounts`
+ remaining=`awk '!/(^#|proc|^none|^\/dev\/root)/ {print $2}' /proc/mounts`
[ -z "$remaining" ] && break
/sbin/fuser -k -m $sig $remaining >/dev/null
sleep 5