diff options
author | Travis Kemen <thepeople@openwrt.org> | 2007-10-24 21:08:54 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2007-10-24 21:08:54 +0000 |
commit | 64e913ca5a3a2f838a400c303bc2fb4ae76bb776 (patch) | |
tree | cce6ee321740f654e283c29257865bdae2200ab8 /package/dnsmasq/files/dnsmasq.init | |
parent | e37ba1b45a8020bae4dea284928237e6adf9ef7a (diff) | |
download | master-187ad058-64e913ca5a3a2f838a400c303bc2fb4ae76bb776.tar.gz master-187ad058-64e913ca5a3a2f838a400c303bc2fb4ae76bb776.tar.bz2 master-187ad058-64e913ca5a3a2f838a400c303bc2fb4ae76bb776.zip |
convert the rest of /etc/dnsmasq.conf to uci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9440 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq/files/dnsmasq.init')
-rw-r--r-- | package/dnsmasq/files/dnsmasq.init | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index ec595afce5..9797490c47 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() { |