summaryrefslogtreecommitdiff
path: root/package/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2007-10-24 21:08:54 +0000
committerTravis Kemen <thepeople@openwrt.org>2007-10-24 21:08:54 +0000
commitc4354c45897aa10459b150d28445a809dcff95f5 (patch)
tree5d86272c6c83bcd6a020b293d46fccd90f1337a5 /package/dnsmasq/files/dnsmasq.init
parentd22f50a2526d6503a7f00c45e0679b77dd583c0e (diff)
downloadmtk-20170518-c4354c45897aa10459b150d28445a809dcff95f5.zip
mtk-20170518-c4354c45897aa10459b150d28445a809dcff95f5.tar.gz
mtk-20170518-c4354c45897aa10459b150d28445a809dcff95f5.tar.bz2
convert the rest of /etc/dnsmasq.conf to uci
SVN-Revision: 9440
Diffstat (limited to 'package/dnsmasq/files/dnsmasq.init')
-rw-r--r--package/dnsmasq/files/dnsmasq.init14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index ec595af..9797490 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -50,17 +50,19 @@ dnsmasq() {
append_bool "$cfg" localise_queries "-y"
append_bool "$cfg" readethers "-Z"
append_bool "$cfg" dbus "-l"
+ append_bool "$cfg" boguspriv "-b"
+ append_bool "$cfg" expandhosts "-E"
append_parm "$cfg" dnsforwardmax "-0"
append_parm "$cfg" port "-p"
append_parm "$cfg" ednspacket_max "-P"
append_parm "$cfg" dhcpleasemax "-X"
-
- config_get addnhosts "$cfg" addnhosts
- config_get interface "$cfg" interface
- config_get exceptinterface "$cfg" exceptinterface
- config_get queryport "$cfg" queryport
- config_get domain "$cfg" domain
+ append_parm "$cfg" "addnhosts" "-H"
+ append_parm "$cfg" "queryport" "-Q"
+ append_parm "$cfg" "domain" "-s"
+ append_parm "$cfg" "local" "-S"
+ append_parm "$cfg" "leasefile" "-l"
+ append_parm "$cfg" "resolvfile" "-r"
}
dhcp_subscrid_add() {