]> pd.if.org Git - startuptools/blobdiff - scripts/example.rc
added startup scripts
[startuptools] / scripts / example.rc
diff --git a/scripts/example.rc b/scripts/example.rc
new file mode 100755 (executable)
index 0000000..b72880c
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+. /etc/rc.conf
+
+case "$1" in 
+       start)
+               exit 0
+               ;;
+       stop)
+               exit 0;
+               ;;
+       restart)
+               exit 0;
+               ;;
+       status)
+               exit 0;
+               ;;
+       *)
+               echo "usage: $0 {start | stop | restart | status }"
+               exit 1
+esac