[source] dnsmasq: add log facility option

LEDE Commits lede-commits at lists.infradead.org
Fri Dec 23 01:47:06 PST 2016


dedeckeh pushed a commit to source.git, branch master:
https://git.lede-project.org/08db3e1b859f60cd4668d67f45629e757e8cbfef

commit 08db3e1b859f60cd4668d67f45629e757e8cbfef
Author: dibdot <dev at brenken.org>
AuthorDate: Wed Dec 21 20:53:39 2016 +0100

    dnsmasq: add log facility option
    
    add possibility to set the facility to which dnsmasq will send syslog entries, i.e. set it to '/dev/null' to mute dnsmasq output at all.
    
    Signed-off-by: Dirk Brenken dev at brenken.org
---
 package/network/services/dnsmasq/files/dnsmasq.init | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index 174fbd1..cec4b12 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -573,6 +573,7 @@ dnsmasq_start()
 	append_bool "$cfg" allservers "--all-servers"
 	append_bool "$cfg" noping "--no-ping"
 
+	append_parm "$cfg" logfacility "--log-facility"
 	append_parm "$cfg" dhcpscript "--dhcp-script"
 	append_parm "$cfg" cachesize "--cache-size"
 	append_parm "$cfg" dnsforwardmax "--dns-forward-max"



More information about the lede-commits mailing list