adblock: minor update 3.8.6-2
* fix service status message * refine readme regarding reload cron job (provided by @novoid) Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
parent
238d6e1f90
commit
a94610c88f
4 changed files with 6 additions and 5 deletions
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=adblock
|
PKG_NAME:=adblock
|
||||||
PKG_VERSION:=3.8.6
|
PKG_VERSION:=3.8.6
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_LICENSE:=GPL-3.0-or-later
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
|
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
|
||||||
|
|
||||||
|
|
|
@ -269,8 +269,9 @@ Finally enable email support and add a valid email address in LuCI.
|
||||||
[...]
|
[...]
|
||||||
```
|
```
|
||||||
|
|
||||||
**Cronjob for a regular block list update (`/etc/crontabs/root`):**
|
**Cronjob for regular block list updates (`/etc/crontabs/root`):**
|
||||||
|
|
||||||
|
The following command as a cron job updates each individual block list from their source so that they hold the most current domains to block:
|
||||||
```
|
```
|
||||||
0 06 * * * /etc/init.d/adblock reload
|
0 06 * * * /etc/init.d/adblock reload
|
||||||
```
|
```
|
||||||
|
|
|
@ -83,7 +83,7 @@ report()
|
||||||
rc_procd "${adb_script}" report "${1:-"+"}" "${2:-"50"}" "${3:-"false"}" "${4:-"true"}"
|
rc_procd "${adb_script}" report "${1:-"+"}" "${2:-"50"}" "${3:-"false"}" "${4:-"true"}"
|
||||||
}
|
}
|
||||||
|
|
||||||
status()
|
status_service()
|
||||||
{
|
{
|
||||||
local key keylist value
|
local key keylist value
|
||||||
local rtfile="$(uci_get adblock extra adb_rtfile "/tmp/adb_runtime.json")"
|
local rtfile="$(uci_get adblock extra adb_rtfile "/tmp/adb_runtime.json")"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#
|
#
|
||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
|
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
adb_ver="3.8.6"
|
adb_ver="3.8.6-2"
|
||||||
adb_basever=""
|
adb_basever=""
|
||||||
adb_enabled=0
|
adb_enabled=0
|
||||||
adb_debug=0
|
adb_debug=0
|
||||||
|
|
Loading…
Reference in a new issue