From 1aacea2738c291c5e144ad1913c3ed6cca9f87db Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 26 Apr 2014 09:53:28 +0200 Subject: use XZ tarballs as default --- package/icinga/files/icinga.init | 35 ----------------------------------- package/icinga/files/icinga.postinst | 6 ------ 2 files changed, 41 deletions(-) delete mode 100644 package/icinga/files/icinga.init delete mode 100644 package/icinga/files/icinga.postinst (limited to 'package/icinga/files') diff --git a/package/icinga/files/icinga.init b/package/icinga/files/icinga.init deleted file mode 100644 index e66944522..000000000 --- a/package/icinga/files/icinga.init +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -#PKG icinga -#INIT 80 -. /etc/rc.conf - -case $1 in -autostop) ;; -autostart) - test x"${icinga:-NO}" = x"NO" && exit 0 - exec sh $0 start - ;; -start) - [ -d /var/run/icinga ] || mkdir -p /var/run/icinga - [ -d /var/rw ] || mkdir -p /var/rw - [ -d /var/spool/checkresults ] || mkdir -p /var/spool/checkresults - touch /var/log/icinga.log - chown icinga:icinga /var/log/icinga.log - chown icinga:icinga /var/run/icinga - chown icinga:icinga /var/spool/checkresults - chown icinga:icinga /var/rw - icinga -d /etc/icinga/icinga.cfg - ;; -stop) - kill $(pgrep -f icinga) - ;; -restart) - sh $0 stop - sh $0 start - ;; -*) - echo "Usage: $0 {start | stop | restart}" - exit 1 - ;; -esac -exit $? diff --git a/package/icinga/files/icinga.postinst b/package/icinga/files/icinga.postinst deleted file mode 100644 index c0df0e7ea..000000000 --- a/package/icinga/files/icinga.postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -add_rcconf icinga icinga NO -gid=$(get_next_gid) -add_group icinga $gid -add_user icinga $(get_next_uid) $gid /etc/icinga -- cgit v1.2.3