aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-08-11 10:37:33 +0000
committerNicolas Thill <nico@openwrt.org>2010-08-11 10:37:33 +0000
commit46016457c292747652907516b6bd58081bc42894 (patch)
treec5c9f6a4ddadaf2834c4422b7dec1a568200ab6c /package/dnsmasq/files/dnsmasq.init
parenta84b3efe3435d200819294e6df71fd87b0526477 (diff)
downloadupstream-46016457c292747652907516b6bd58081bc42894.tar.gz
upstream-46016457c292747652907516b6bd58081bc42894.tar.bz2
upstream-46016457c292747652907516b6bd58081bc42894.zip
package/dnsmasq: add support for bogus-nxdomain (thanks to Mickey Knox), bump release number
SVN-Revision: 22592
Diffstat (limited to 'package/dnsmasq/files/dnsmasq.init')
-rw-r--r--package/dnsmasq/files/dnsmasq.init5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index fac2d8a72d..0b74d419e5 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -55,6 +55,10 @@ append_addnhosts() {
append args "-H $1"
}
+append_bogusnxdomain() {
+ append args "-B $1"
+}
+
dnsmasq() {
local cfg="$1"
append_bool "$cfg" authoritative "-K"
@@ -86,6 +90,7 @@ dnsmasq() {
config_list_foreach "$cfg" "interface" append_interface
config_list_foreach "$cfg" "notinterface" append_notinterface
config_list_foreach "$cfg" "addnhosts" append_addnhosts
+ config_list_foreach "$cfg" "bogusnxdomain" append_bogusnxdomain
append_parm "$cfg" "leasefile" "-l"
append_parm "$cfg" "resolvfile" "-r"
append_parm "$cfg" "tftp_root" "--tftp-root"