diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-07 17:23:11 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-07 17:23:11 +0200 |
commit | f3cc98651b738ac7f2dc56ea772afa9f874b9d3b (patch) | |
tree | 02fcb02d1a7db02e09355c88e5a4f66f54079d6f /package/osiris/files | |
parent | 5bcfd51dfd2fb526705540ec690e2798a3074e55 (diff) |
allow to enable daemons on startup via menuconfig
Diffstat (limited to 'package/osiris/files')
-rw-r--r-- | package/osiris/files/osirisd.init | 28 | ||||
-rw-r--r-- | package/osiris/files/osirisd.postinst | 3 |
2 files changed, 0 insertions, 31 deletions
diff --git a/package/osiris/files/osirisd.init b/package/osiris/files/osirisd.init deleted file mode 100644 index b412e7e73..000000000 --- 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 $? diff --git a/package/osiris/files/osirisd.postinst b/package/osiris/files/osirisd.postinst deleted file mode 100644 index 04e53ac93..000000000 --- a/package/osiris/files/osirisd.postinst +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -add_rcconf osirisd osirisd NO |