From 33def2ea043d1ad02070840426c671282693cb43 Mon Sep 17 00:00:00 2001 From: jow Date: Sat, 9 May 2009 22:34:04 +0000 Subject: [PATCH] [package] dnsmasq: add option to specify dhcp-hostsfile (#5079) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15747 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/dnsmasq/files/dnsmasq.init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 3f8dca959..b5ecf1de2 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -81,6 +81,9 @@ dnsmasq() { config_get leasefile $cfg leasefile [ -e "$leasefile" ] || touch "$leasefile" config_get_bool cachelocal "$cfg" cachelocal 1 + + config_get hostsfile "$cfg" dhcphostsfile + [ -e "$hostsfile" ] && append args "--dhcp-hostsfile=$hostsfile" } dhcp_subscrid_add() {