adblock: fix init status command
authorDirk Brenken <dev@brenken.org>
Thu, 1 Apr 2021 18:55:45 +0000 (20:55 +0200)
committerDirk Brenken <dev@brenken.org>
Thu, 1 Apr 2021 18:55:45 +0000 (20:55 +0200)
Signed-off-by: Dirk Brenken <dev@brenken.org>
net/adblock/Makefile
net/adblock/files/adblock.init

index da820ee93ef33e4f06284612b11bbffbd03d2717..ed90c0410377e90d28fc8c00d279b893de20c62b 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=adblock
 PKG_VERSION:=4.0.7
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
index 4997b26eedcdb7d4b89c2db16be958637f5cb536..1f91562306b1b8004213ceaa778534ec5f01f0a7 100755 (executable)
@@ -8,8 +8,9 @@
 START=30
 USE_PROCD=1
 
-EXTRA_COMMANDS="suspend resume query report list timer status_service version"
-EXTRA_HELP="   suspend Suspend adblock processing
+EXTRA_COMMANDS="suspend resume query report list timer status version"
+EXTRA_HELP="   status  Service status
+       suspend Suspend adblock processing
        resume  Resume adblock processing
        query   <domain> Query active blocklists and backups for a specific domain
        report  [<search>] Print DNS statistics with an optional search parameter
@@ -184,6 +185,11 @@ list()
        fi
 }
 
+status()
+{
+       status_service
+}
+
 status_service()
 {
        local key keylist value rtfile