summaryrefslogtreecommitdiff
path: root/package/dnsmasq/files/dnsmasq.postinst
blob: 36833da082af5814b0259ae2781cec320a7700a5 (plain)
1
2
3
4
5
6
#!/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 NO