From ced9dffda28f1ec2b060f3e419cf3c6b964b03a1 Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Tue, 16 Sep 1997 14:12:05 +0000 Subject: Initial revision --- rc.d/init.d/skeleton | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 rc.d/init.d/skeleton (limited to 'rc.d/init.d/skeleton') diff --git a/rc.d/init.d/skeleton b/rc.d/init.d/skeleton new file mode 100755 index 00000000..a0d2758b --- /dev/null +++ b/rc.d/init.d/skeleton @@ -0,0 +1,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, +# + +# 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 + -- cgit v1.2.1