From 79f8f9c199a30524b5636c00e86fc8f179caf6f2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 3 Dec 2011 12:21:37 +0100 Subject: add icinga core --- package/icinga/files/icinga.postinst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 package/icinga/files/icinga.postinst (limited to 'package/icinga/files/icinga.postinst') diff --git a/package/icinga/files/icinga.postinst b/package/icinga/files/icinga.postinst new file mode 100644 index 000000000..c0df0e7ea --- /dev/null +++ b/package/icinga/files/icinga.postinst @@ -0,0 +1,6 @@ +#!/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