From ee28798aff859e725ab74ae7cb7b3d6c15407263 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Tue, 6 Aug 2019 15:51:23 +0200 Subject: luci-app-banip: sync with 0.1.5 * add new extra options to control auto-addons to blacklist & whitelist ('ban_autoblacklist' & 'ban_autowhitelist') Signed-off-by: Dirk Brenken --- .../luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'applications/luci-app-banip/luasrc/model') diff --git a/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua b/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua index 57294e5c4..277b8363e 100644 --- a/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua +++ b/applications/luci-app-banip/luasrc/model/cbi/banip/overview_tab.lua @@ -131,6 +131,16 @@ e6.default = 4 e6.datatype = "range(1,32)" e6.rmempty = false +e7 = e:option(Flag, "ban_autoblacklist", translate("Local Save Blacklist Addons"), + translate("Blacklist auto addons are stored temporary in the IPSet and saved permanently in the local blacklist. Disable this option to prevent the local save.")) +e7.default = e7.enabled +e7.rmempty = true + +e8 = e:option(Flag, "ban_autowhitelist", translate("Local Save Whitelist Addons"), + translate("Whitelist auto addons are stored temporary in the IPSet and saved permanently in the local whitelist. Disable this option to prevent the local save.")) +e8.default = e8.enabled +e8.rmempty = true + -- Optional Extra Options e20 = e:option(Value, "ban_triggerdelay", translate("Trigger Delay"), -- cgit v1.2.3