summaryrefslogtreecommitdiff
path: root/package/dnsmasq/ipkg/dnsmasq.postinst
blob: f2ff69e585e08b0f312bb48c9950d1c892968079 (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 dns_dhcp NO