summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2017-08-04 08:34:34 +0200
committerDirk Brenken <dev@brenken.org>2017-08-04 11:12:03 +0200
commit0f13f7eb8174e12b5882f244019a35725f729743 (patch)
tree23b5fa19b8247a8ef545500a53faf94adee48f5e /applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua
parentf450c0403d4aa2d1e5cbcb262315121b130990e9 (diff)
luci-app-adblock: sync with adblock 2.8.5
* add preliminary kresd support * small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua')
-rw-r--r--applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua b/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua
index 68f9c8897..aa5701487 100644
--- a/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua
+++ b/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua
@@ -21,6 +21,8 @@ if parse ~= nil then
dnspath = "/var/lib/unbound"
elseif backend == "named" then
dnspath = "/var/lib/bind"
+ elseif backend == "kresd" then
+ dnspath = "/tmp/kresd"
end
end
end
@@ -180,7 +182,7 @@ e2 = e:option(Flag, "adb_forcesrt", translate("Force Overall Sort"),
e2.default = e2.disabled
e2.rmempty = false
-e3 = e:option(Flag, "adb_manmode", translate("Manual mode"),
+e3 = e:option(Flag, "adb_manmode", translate("Manual / Backup mode"),
translate("Do not automatically update blocklists during startup, use blocklist backups instead."))
e3.default = e3.disabled
e3.rmempty = false