luci-app-adblock: change "refresh" action

* change "refresh" action to fix potential white-/blacklist issues

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit a392dbf888)
This commit is contained in:
Dirk Brenken 2020-10-30 20:30:37 +01:00
parent 4f2f3dfd45
commit f90a9b7a21
No known key found for this signature in database
GPG key ID: 9D71CD547BFAE684
2 changed files with 2 additions and 2 deletions

View file

@ -250,7 +250,7 @@ return L.view.extend({
E('button', {
'class': 'cbi-button cbi-button-apply',
'click': ui.createHandlerFn(this, function() {
return handleAction('start');
return handleAction('reload');
})
}, [ _('Refresh') ])
])

View file

@ -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" ],