Signed-off-by: Jonh Wendell <[email protected]>
---
 .../network/services/dnsmasq/files/dnsmasq.init    |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/network/services/dnsmasq/files/dnsmasq.init
b/package/network/services/dnsmasq/files/dnsmasq.init
index 85c22c3..cb65bef 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -133,6 +133,9 @@ dnsmasq() {
     config_get hostsfile "$cfg" dhcphostsfile
     [ -e "$hostsfile" ] && xappend "--dhcp-hostsfile=$hostsfile"

+    config_get confdir "$cfg" conf_dir
+    [ -d "$confdir" ] && xappend "--conf-dir=$confdir"
+
     local rebind
     config_get_bool rebind "$cfg" rebind_protection 1
     [ $rebind -gt 0 ] && {
-- 
1.7.9.5


-- 
Jonh Wendell
http://www.bani.com.br
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to