aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-09 14:51:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-09 14:51:15 +0000
commitd63666203ccd6807da9ce60af60897fd7bce94ae (patch)
tree666a33122a83d0cfd2f5cd18b3463b9cd438ef41 /package/dnsmasq/files/dnsmasq.init
parenta4f6398eda015560d972b9778fb9e3132d471d1f (diff)
downloadupstream-d63666203ccd6807da9ce60af60897fd7bce94ae.tar.gz
upstream-d63666203ccd6807da9ce60af60897fd7bce94ae.tar.bz2
upstream-d63666203ccd6807da9ce60af60897fd7bce94ae.zip
dnsmasq: add more options for interface binding (#4900)
SVN-Revision: 15172
Diffstat (limited to 'package/dnsmasq/files/dnsmasq.init')
-rw-r--r--package/dnsmasq/files/dnsmasq.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 870414900f..0b2f630390 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -57,6 +57,7 @@ dnsmasq() {
append_bool "$cfg" boguspriv "-b"
append_bool "$cfg" expandhosts "-E"
append_bool "$cfg" enable_tftp "--enable-tftp"
+ append_bool "$cfg" nonwildcard "-z"
append_parm "$cfg" dnsforwardmax "-0"
append_parm "$cfg" port "-p"
@@ -71,6 +72,7 @@ dnsmasq() {
append_parm "$cfg" "resolvfile" "-r"
append_parm "$cfg" "tftp_root" "--tftp-root"
append_parm "$cfg" "dhcp_boot" "--dhcp-boot"
+ append_parm "$cfg" "interfaces" "-i"
config_get leasefile $cfg leasefile
[ -e "$leasefile" ] || touch "$leasefile"