diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2011-12-03 12:21:37 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2011-12-03 12:21:37 +0100 |
commit | 79f8f9c199a30524b5636c00e86fc8f179caf6f2 (patch) | |
tree | a83c54b46d244496d8b7d7a693eab447c407bcbc /package/icinga/files/icinga.postinst | |
parent | 80003c2b6747bb215348b6870bd67bae34232f23 (diff) |
add icinga core
Diffstat (limited to 'package/icinga/files/icinga.postinst')
-rw-r--r-- | package/icinga/files/icinga.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
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 |