aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/single
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2000-02-05 03:24:35 +0000
committerNalin Dahyabhai <nalin@redhat.com>2000-02-05 03:24:35 +0000
commit32124ac6847499d4fc2e34bc75a8bd43794fe1d4 (patch)
tree619047795e00fc720e15a3043b3e777787082795 /rc.d/init.d/single
parent090f9ae651c7957f8e3fbbceeef34502281cc8ab (diff)
downloadinitscripts-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
Diffstat (limited to 'rc.d/init.d/single')
-rwxr-xr-xrc.d/init.d/single4
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