1 2 3 4 5 6
#!/bin/sh . $IPKG_INSTROOT/etc/functions.sh gid=$(get_next_gid) add_group dhcp-fwd $gid add_user dhcp-fwd $(get_next_uid) $gid /tmp add_rcconf dhcp_fwd NO