diff options
author | Dirk Brenken <dev@brenken.org> | 2020-10-30 20:30:37 +0100 |
---|---|---|
committer | Dirk Brenken <dev@brenken.org> | 2020-10-30 20:30:37 +0100 |
commit | a392dbf888f0cdaee211eca9b58becc804ee3458 (patch) | |
tree | a9cb96759482bd7c0ad4e3c7f0ecbcf4f7bff848 | |
parent | f193364c2c5aadad50e118d5e0b6d59ba436a486 (diff) |
luci-app-adblock: change "refresh" action
* change "refresh" action to fix potential white-/blacklist issues
Signed-off-by: Dirk Brenken <dev@brenken.org>
-rw-r--r-- | applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js | 2 | ||||
-rw-r--r-- | applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json | 2 |
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" ], |