aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/skeleton
blob: a0d2758b3be348f709fbe3bbc288274e6ba4d60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
#
# skeleton      Example file to build /etc/init.d scripts.
#
# Version:      @(#) /etc/init.d/skeleton 1.01 26-Oct-1993
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#

# Source function library.
. /etc/rc.d/init.d/functions

# See how we were called.
case "$1" in
  start)
	touch /var/lock/subsys/skeleton
	;;
  stop)
	rm -f /var/lock/subsys/skeleton
	;;
  *)
	echo "Usage: skeleton {start|stop}"
	exit 1
esac

exit 0