adblock: maintenance update 2.6.3

backend:
* various small fixes & optimizations
 
LuCI frontend (see luci repo):
* Limit Blacklist/Whitelist Online editing to max. 512 KB, approx.
20.000 domains per list
* Automatically refresh the overview page after button onclick event,
e.g. 'Suspend/Resume' or 'Save & Apply'
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken
2017-05-08 11:19:57 +02:00
parent bf7d1dc85c
commit 6ffae3bc1e
3 changed files with 23 additions and 13 deletions

View File

@@ -22,7 +22,7 @@ boot()
start_service()
{
if [ $("${adb_init}" enabled; printf ${?}) -eq 0 ]
if [ $("${adb_init}" enabled; printf "%u" ${?}) -eq 0 ]
then
if [ -n "${adb_boot}" ]
then
@@ -36,6 +36,11 @@ start_service()
fi
}
reload_service()
{
rc_procd start_service reload
}
stop_service()
{
rc_procd "${adb_script}" stop