aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-07-05 21:15:45 +0000
committerFlorian La Roche <laroche@redhat.com>2002-07-05 21:15:45 +0000
commit783c051a4d7ff83128a4bc64bb934b962bf27acc (patch)
tree3dd0db122a19521d89d92c74349312d687ba2e17 /rc.d
parent756e7ebae3da05129c2ebc5031ec48425c9f9c43 (diff)
downloadinitscripts-783c051a4d7ff83128a4bc64bb934b962bf27acc.tar
initscripts-783c051a4d7ff83128a4bc64bb934b962bf27acc.tar.gz
initscripts-783c051a4d7ff83128a4bc64bb934b962bf27acc.tar.bz2
initscripts-783c051a4d7ff83128a4bc64bb934b962bf27acc.tar.xz
initscripts-783c051a4d7ff83128a4bc64bb934b962bf27acc.zip
- only coding style
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/killall12
1 files changed, 6 insertions, 6 deletions
diff --git a/rc.d/init.d/killall b/rc.d/init.d/killall
index 82208730..26f2c109 100755
--- a/rc.d/init.d/killall
+++ b/rc.d/init.d/killall
@@ -1,21 +1,21 @@
-#!/bin/bash
+#! /bin/bash
# Bring down all unneeded services that are still running (there shouldn't
# be any, so this is just a sanity check)
-for i in /var/lock/subsys/*; do
+for i in /var/lock/subsys/* ; do
# Check if the script is there.
- [ -f $i ] || continue
+ [ -f "$i" ] || continue
# Get the subsystem name.
subsys=${i#/var/lock/subsys/}
# Bring the subsystem down.
if [ -f /etc/init.d/$subsys.init ]; then
- /etc/init.d/$subsys.init stop
+ /etc/init.d/$subsys.init stop
elif [ -f /etc/init.d/$subsys ]; then
- /etc/init.d/$subsys stop
+ /etc/init.d/$subsys stop
else
- rm -f $i
+ rm -f "$i"
fi
done