projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df0db7
)
dnsmasq: add option to specify dhcp-hostsfile (#5079)
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 9 May 2009 22:34:04 +0000
(22:34 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 9 May 2009 22:34:04 +0000
(22:34 +0000)
SVN-Revision: 15747
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index 3f8dca959cea17f3b2a1994857aa3f54f7316d8f..b5ecf1de27d07e8ad6923afc209a106a55ea5d00 100644
(file)
--- 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() {