adblock: fix init status command
Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
parent
65b578bfa2
commit
fdd4afe6ac
2 changed files with 9 additions and 3 deletions
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=adblock
|
PKG_NAME:=adblock
|
||||||
PKG_VERSION:=4.0.7
|
PKG_VERSION:=4.0.7
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
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>
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,9 @@
|
||||||
START=30
|
START=30
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
|
|
||||||
EXTRA_COMMANDS="suspend resume query report list timer status_service version"
|
EXTRA_COMMANDS="suspend resume query report list timer status version"
|
||||||
EXTRA_HELP=" suspend Suspend adblock processing
|
EXTRA_HELP=" status Service status
|
||||||
|
suspend Suspend adblock processing
|
||||||
resume Resume adblock processing
|
resume Resume adblock processing
|
||||||
query <domain> Query active blocklists and backups for a specific domain
|
query <domain> Query active blocklists and backups for a specific domain
|
||||||
report [<search>] Print DNS statistics with an optional search parameter
|
report [<search>] Print DNS statistics with an optional search parameter
|
||||||
|
@ -184,6 +185,11 @@ list()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
status()
|
||||||
|
{
|
||||||
|
status_service
|
||||||
|
}
|
||||||
|
|
||||||
status_service()
|
status_service()
|
||||||
{
|
{
|
||||||
local key keylist value rtfile
|
local key keylist value rtfile
|
||||||
|
|
Loading…
Reference in a new issue