summaryrefslogtreecommitdiffstats
path: root/examples/root/etc/init.d
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-04-22 18:43:50 +0000
committerLuke Kanies <luke@madstop.com>2005-04-22 18:43:50 +0000
commita1a7ae4cf77b4161b6874e60ab06078bf4e6f081 (patch)
treef52e4417fcb65c84a0b103bee2925a0f23a781f8 /examples/root/etc/init.d
parent85b9f915e96241eb8ccb44d7b963b44fc44baa08 (diff)
downloadpuppet-a1a7ae4cf77b4161b6874e60ab06078bf4e6f081.tar.gz
puppet-a1a7ae4cf77b4161b6874e60ab06078bf4e6f081.tar.xz
puppet-a1a7ae4cf77b4161b6874e60ab06078bf4e6f081.zip
moving to the language tree
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@212 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'examples/root/etc/init.d')
-rwxr-xr-xexamples/root/etc/init.d/sleeper27
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/root/etc/init.d/sleeper b/examples/root/etc/init.d/sleeper
deleted file mode 100755
index bb3bb4eb7..000000000
--- a/examples/root/etc/init.d/sleeper
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-# $Id$
-
-script=$0
-path=`echo $script | sed 's/etc..*/bin/'`
-
-PATH=$PATH:$path
-
-case "$1" in
- start)
- sleeper
- ;;
- stop)
- kill `ps -ef | grep -v grep | grep sleeper | grep perl | awk '{print $2}'`
- ;;
- status)
- output=`ps -ef | grep -v grep | grep -v init.d | grep sleeper`
- exit $?
- ;;
- *)
- echo "Usage: $N {start|stop|restart|force-reload}" >&2
- exit 1
- ;;
-esac
-
-exit 0