summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2016-06-03 17:24:56 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2016-06-03 17:24:56 +0300
commite87132021b9117ea9feb7b6b7f0633db5cf8bede (patch)
treef70bbc227e5d7f24cd0cf9c2f05783bb6eeb01af
parent1709800150565fd027a3a9b752687439f53460ab (diff)
luci-app-adblock: support 1.16
Add support for 'adb_restricted' Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
-rw-r--r--applications/luci-app-adblock/luasrc/model/cbi/adblock.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua b/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua
index c8af73a43..19328376c 100644
--- a/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua
+++ b/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua
@@ -59,6 +59,10 @@ o5.datatype = "directory"
e = m:section(NamedSection, "global", "adblock", translate("Extra options"),
translate("Options for further tweaking in case the defaults are not suitable for you."))
+a0 = e:option(Flag, "adb_restricted", translate("Do not write status info to flash"),
+ translate("Skip writing update status information to the config file. Status fields on this page will not be updated."))
+a0.default = 0
+
a1 = e:option(Value, "adb_nullport", translate("Port of the adblock uhttpd instance"))
a1.optional = true
a1.default = 65535