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