mirror of
https://github.com/openwrt/luci.git
synced 2026-08-29 08:31:46 +04:00
Merge pull request #492 from ollie27/nohosts
luci-mod-admin-full: fix dnsmasq no-hosts/addn-hosts options
This commit is contained in:
@@ -51,13 +51,10 @@ rf.optional = true
|
||||
|
||||
|
||||
s:taboption("files", Flag, "nohosts",
|
||||
translate("Ignore Hosts files")).optional = true
|
||||
translate("Ignore <code>/etc/hosts</code>")).optional = true
|
||||
|
||||
hf = s:taboption("files", DynamicList, "addnhosts",
|
||||
translate("Additional Hosts files"))
|
||||
|
||||
hf:depends("nohosts", "")
|
||||
hf.optional = true
|
||||
s:taboption("files", DynamicList, "addnhosts",
|
||||
translate("Additional Hosts files")).optional = true
|
||||
|
||||
|
||||
s:taboption("advanced", Flag, "boguspriv",
|
||||
|
||||
Reference in New Issue
Block a user