summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2017-02-05 08:02:39 +0100
committerHannu Nyman <hannu.nyman@iki.fi>2017-02-07 19:22:24 +0200
commitd5734c5abdc2d5e3ef8c7455ac22a610b7464aeb (patch)
tree4ceaac304d0399c09d2c49818bf3b54041643dce /applications
parente306ee6c93c1ef600012f47e40dd75020d4ab555 (diff)
luci-app-adblock: put backup options to global section
this PR reflect the changes made in adblock 2.3.0 Signed-off-by: Dirk Brenken <dev@brenken.org> (cherry picked from commit d3a74836b7abb64591afde6ce0d0eb7a40d308fa)
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-adblock/luasrc/model/cbi/adblock.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua b/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua
index d80cb486e..0a4a4cdd2 100644
--- a/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua
+++ b/applications/luci-app-adblock/luasrc/model/cbi/adblock.lua
@@ -34,13 +34,13 @@ des = bl:option(DummyValue, "adb_src_desc", translate("Description"))
-- Additional options
-s2 = m:section(NamedSection, "backup", "service", translate("Backup options"))
+s2 = m:section(NamedSection, "global", "adblock", translate("Backup options"))
-o4 = s2:option(Flag, "enabled", translate("Enable blocklist backup"))
+o4 = s2:option(Flag, "adb_backup", translate("Enable blocklist backup"))
o4.rmempty = false
o4.default = 0
-o5 = s2:option(Value, "adb_dir", translate("Backup directory"))
+o5 = s2:option(Value, "adb_backupdir", translate("Backup directory"))
o5.rmempty = false
o5.datatype = "directory"