From: Dirk Brenken Date: Thu, 30 Mar 2023 18:13:21 +0000 (+0200) Subject: banip: update to 0.8.2-6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=692fe359a9afab6a388907491f0169e155b9e0cd;p=feed%2Fpackages.git banip: update to 0.8.2-6 * restored some accidently removed init stuff in last commit Signed-off-by: Dirk Brenken --- 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() {