From 391e18067e486017ba2feea69a4e430721c8b963 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Thu, 30 Mar 2023 20:13:21 +0200 Subject: [PATCH] banip: update to 0.8.2-6 * restored some accidently removed init stuff in last commit Signed-off-by: Dirk Brenken (cherry picked from commit 692fe359a9afab6a388907491f0169e155b9e0cd) --- net/banip/Makefile | 2 +- net/banip/files/banip.init | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net/banip/Makefile b/net/banip/Makefile index 38df1fcf40..65fa9e2703 100644 --- a/net/banip/Makefile +++ b/net/banip/Makefile @@ -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 diff --git a/net/banip/files/banip.init b/net/banip/files/banip.init index 6c76280334..d8faafdaa0 100755 --- a/net/banip/files/banip.init +++ b/net/banip/files/banip.init @@ -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() { -- 2.30.2