diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2000-02-05 03:24:35 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2000-02-05 03:24:35 +0000 |
commit | 32124ac6847499d4fc2e34bc75a8bd43794fe1d4 (patch) | |
tree | 619047795e00fc720e15a3043b3e777787082795 | |
parent | 090f9ae651c7957f8e3fbbceeef34502281cc8ab (diff) | |
download | initscripts-32124ac6847499d4fc2e34bc75a8bd43794fe1d4.tar initscripts-32124ac6847499d4fc2e34bc75a8bd43794fe1d4.tar.gz initscripts-32124ac6847499d4fc2e34bc75a8bd43794fe1d4.tar.bz2 initscripts-32124ac6847499d4fc2e34bc75a8bd43794fe1d4.tar.xz initscripts-32124ac6847499d4fc2e34bc75a8bd43794fe1d4.zip |
whoops, single should really check that it got start before it does anything
-rwxr-xr-x | rc.d/init.d/single | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.d/init.d/single b/rc.d/init.d/single index 4bf94387..e3ae2f74 100755 --- a/rc.d/init.d/single +++ b/rc.d/init.d/single @@ -15,6 +15,10 @@ # Set the path. PATH=/sbin:/bin:/usr/sbin:/usr/bin +if [ "$1" != "start" ] ; then + exit 0 +fi + # Kill all processes. [ "${BASH+bash}" = bash ] && enable kill |