mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 23:43:42 +02:00
[package] dnsmasq: add option to specify dhcp-hostsfile (#5079)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15747 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
58387c9612
commit
33def2ea04
@ -81,6 +81,9 @@ dnsmasq() {
|
|||||||
config_get leasefile $cfg leasefile
|
config_get leasefile $cfg leasefile
|
||||||
[ -e "$leasefile" ] || touch "$leasefile"
|
[ -e "$leasefile" ] || touch "$leasefile"
|
||||||
config_get_bool cachelocal "$cfg" cachelocal 1
|
config_get_bool cachelocal "$cfg" cachelocal 1
|
||||||
|
|
||||||
|
config_get hostsfile "$cfg" dhcphostsfile
|
||||||
|
[ -e "$hostsfile" ] && append args "--dhcp-hostsfile=$hostsfile"
|
||||||
}
|
}
|
||||||
|
|
||||||
dhcp_subscrid_add() {
|
dhcp_subscrid_add() {
|
||||||
|
Loading…
Reference in New Issue
Block a user