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