summaryrefslogtreecommitdiff
path: root/package/dansguardian/files/dansguardian.postinst
blob: 95f5fb6394b7571baf6ff8a7b18225e4536f09f8 (plain)
1
2
3
4
5
6
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
gid=$(get_next_gid)
add_user dansguardian $(get_next_uid) $gid /etc/dansguardian
add_group dansguardian $gid
add_rcconf dansguardian dansguardian NO