summaryrefslogtreecommitdiff
path: root/package/icinga/files/icinga.postinst
blob: c0df0e7ea90fbe85df3b91c5dd82ea4c1b22ed18 (plain)
1
2
3
4
5
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