diff options
author | Bill Nottingham <notting@redhat.com> | 2003-09-04 01:33:52 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-09-04 01:33:52 +0000 |
commit | cda9de1a356ac6b018a86845083693f8eb61dcc0 (patch) | |
tree | dd9ff719692b0d241b9c272cbd7f876605aa10ca /rc.d/init.d/killall | |
parent | ac574862cc95b534223fd468a0549c04b9459279 (diff) | |
download | initscripts-cda9de1a356ac6b018a86845083693f8eb61dcc0.tar initscripts-cda9de1a356ac6b018a86845083693f8eb61dcc0.tar.gz initscripts-cda9de1a356ac6b018a86845083693f8eb61dcc0.tar.bz2 initscripts-cda9de1a356ac6b018a86845083693f8eb61dcc0.tar.xz initscripts-cda9de1a356ac6b018a86845083693f8eb61dcc0.zip |
check for a parameter (#84799)
Diffstat (limited to 'rc.d/init.d/killall')
-rwxr-xr-x | rc.d/init.d/killall | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rc.d/init.d/killall b/rc.d/init.d/killall index 982ed2f3..d22982ef 100755 --- a/rc.d/init.d/killall +++ b/rc.d/init.d/killall @@ -3,6 +3,16 @@ # Bring down all unneeded services that are still running (there shouldn't # be any, so this is just a sanity check) +case "$1" in + *start) + ;; + *) + echo $"Usage: $0 {start}" + exit 1 + ;; +esac + + for i in /var/lock/subsys/* ; do # Check if the script is there. [ -f "$i" ] || continue |