summaryrefslogtreecommitdiff
path: root/package/dansguardian/files/dansguardian.postinst
blob: 8068f3d3472183e4d5dbc1e38228bfb32d712616 (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 NO