summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2020-10-30 20:30:37 +0100
committerDirk Brenken <dev@brenken.org>2020-10-30 20:30:37 +0100
commita392dbf888f0cdaee211eca9b58becc804ee3458 (patch)
treea9cb96759482bd7c0ad4e3c7f0ecbcf4f7bff848 /applications
parentf193364c2c5aadad50e118d5e0b6d59ba436a486 (diff)
luci-app-adblock: change "refresh" action
* change "refresh" action to fix potential white-/blacklist issues Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js2
-rw-r--r--applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
index 9610735d9..e95702a75 100644
--- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
+++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
@@ -252,7 +252,7 @@ return view.extend({
E('button', {
'class': 'cbi-button cbi-button-apply',
'click': ui.createHandlerFn(this, function() {
- return handleAction('start');
+ return handleAction('reload');
})
}, [ _('Refresh') ])
])
diff --git a/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json b/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
index 3f52b7eea..58140bada 100644
--- a/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
+++ b/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
@@ -18,7 +18,7 @@
"/sbin/logread -e adblock-": [ "exec" ],
"/usr/sbin/logread -e adblock-": [ "exec" ],
"/etc/init.d/adblock list" : [ "exec" ],
- "/etc/init.d/adblock start" : [ "exec" ],
+ "/etc/init.d/adblock reload" : [ "exec" ],
"/etc/init.d/adblock suspend" : [ "exec" ],
"/etc/init.d/adblock resume" : [ "exec" ],
"/etc/init.d/adblock report * [0-9]* [a-z]* json" : [ "exec" ],