3 # testd This shell script takes care of starting and stopping
4 # testd (example daemon).
7 # Source function library.
8 . /etc/rc.d/init.d/functions
10 # See how we were called.
14 echo -n "Starting testd: "
17 touch /var/lock/subsys/testd
21 echo -n "Shutting down testd: "
24 rm -f /var/lock/subsys/testd
32 echo -n "Shutting down testd: "
35 echo -n "Starting testd: "
40 echo "Usage: testd {start|stop|status|restart}"