summaryrefslogtreecommitdiff
path: root/package/dhcp-forwarder/files/dhcp-forwarder.postinst
blob: c08fed4f3988c640e8c9ea01ca09cc500ffdf5a2 (plain)
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 dhcp_fwd NO