summaryrefslogtreecommitdiff
path: root/package/osiris/files/osirisd.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/osiris/files/osirisd.init')
-rw-r--r--package/osiris/files/osirisd.init28
1 files changed, 0 insertions, 28 deletions
diff --git a/package/osiris/files/osirisd.init b/package/osiris/files/osirisd.init
deleted file mode 100644
index b412e7e..0000000
--- a/package/osiris/files/osirisd.init
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-#PKG osirisd
-#INIT 75
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${osirisd:-NO}" = x"NO" && exit 0
- exec sh $0 start
- ;;
-start)
- [ -d /var/lib/osiris ] || mkdir -p /var/lib/osiris
- /usr/sbin/osirisd
- ;;
-stop)
- kill $(pgrep -f /usr/sbin/osirisd)
- ;;
-restart)
- sh $0 stop
- sh $0 start
- ;;
-*)
- echo "Usage: $0 {start | stop | restart}"
- exit 1
- ;;
-esac
-exit $?