From 783c051a4d7ff83128a4bc64bb934b962bf27acc Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Fri, 5 Jul 2002 21:15:45 +0000 Subject: - only coding style --- rc.d/init.d/killall | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rc.d/init.d') 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 -- cgit v1.2.1