openwrtv4/package
John Crispin b5bfb3534b dnsmasq: add host-specific lease time option for static hosts
Enable setting a host-specific lease time for static hosts.
The new option is called "leasetime" and the format is similar
as for the default lease time: e.g. 12h, 3d, infinite

Default lease time is used for all hosts for which there is
no host-specific definition.

The option is added to /etc/config/dhcp for the selected hosts:
  config host
        option name 'Nexus'
        option mac 'd8:50:66:55:59:7c'
        option ip '192.168.1.245'
        option leasetime '2h'

It gets appended to /var/etc/dnsmasq.conf like this:
  dhcp-host=d8:50:66:55:59:7c,192.168.1.245,Nexus,2h

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 48801
2016-02-26 09:13:03 +00:00
..
base-files base-files: add support for speed mask to switch config init scripts 2016-02-25 13:31:29 +00:00
boot uboot-oxnas: fix typo leading to tool not being built 2016-02-25 10:13:53 +00:00
devel strace: update to version 4.11 2016-02-25 21:55:41 +00:00
firmware mac80211: add packages libertas-spi module and firmware 2016-02-22 08:54:08 +00:00
kernel kernel/gpio_keys: load module on pre-init 2016-02-26 08:35:20 +00:00
libs libubox: update to latest git HEAD 2016-02-26 08:35:41 +00:00
network dnsmasq: add host-specific lease time option for static hosts 2016-02-26 09:13:03 +00:00
system procd: hotplug.json: allow passing hotplug events from all subsystems 2016-02-26 08:35:43 +00:00
utils toolchain/glibc: remove obsolete versions 2016-02-25 13:43:46 +00:00
Makefile package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH set 2016-01-31 23:29:12 +00:00