diff options
Diffstat (limited to 'net/isc-dhcp/files/dhcpd.defaults')
-rw-r--r-- | net/isc-dhcp/files/dhcpd.defaults | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/isc-dhcp/files/dhcpd.defaults b/net/isc-dhcp/files/dhcpd.defaults new file mode 100644 index 000000000..bd6f3d2b1 --- /dev/null +++ b/net/isc-dhcp/files/dhcpd.defaults @@ -0,0 +1,11 @@ +#!/bin/sh +uci -q get dhcp.isc_dhcpcd && exit 0 +touch /etc/config/dhcp + +uci batch <<EOF +set dhcp.isc_dhcpd=isc_dhcpd +set dhcp.isc_dhcpd.authoritative='1' +set dhcp.isc_dhcpd.default_lease_time='3600' +set dhcp.isc_dhcpd.max_lease_time='86400' +commit dhcp +EOF |