banip: update to 0.8.2-6
authorDirk Brenken <dev@brenken.org>
Thu, 30 Mar 2023 18:13:21 +0000 (20:13 +0200)
committerDirk Brenken <dev@brenken.org>
Thu, 30 Mar 2023 18:13:21 +0000 (20:13 +0200)
* restored some accidently removed init stuff in last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
net/banip/Makefile
net/banip/files/banip.init

index 38df1fcf40ac30a663a9123816b0b1b092775a64..65fa9e270388a91bbb5a5639b39404793200f0d9 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=banip
 PKG_VERSION:=0.8.2
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
index 6c76280334cb46c12a70e5a003e75b6951a3138a..d8faafdaa0c1b60710faa43b40afab76c6de54de 100755 (executable)
@@ -74,8 +74,10 @@ status() {
 }
 
 status_service() {
+       local actual="${1}"
+
        [ -z "$(command -v "f_system")" ] && . "${ban_funlib}"
-       f_getstatus
+       [ -n "${actual}" ] && f_actual || f_getstatus
 }
 
 report() {