luci-app-adblock: change "refresh" action

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

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

View file

@ -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') ])
])

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