summaryrefslogtreecommitdiff
path: root/package/dnsmasq/files/dnsmasq.postinst
blob: 86cf960e664e13b17c68e20211c5dea318ebbb1e (plain)
1
2
3
4
5
6
7
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh

gid=$(get_next_gid)
add_user dnsmasq $(get_next_uid) $gid /tmp
add_group dnsmasq $gid
add_rcconf dnsmasq dnsmasq NO