banip: update 0.3.9
authorDirk Brenken <dev@brenken.org>
Sun, 10 Nov 2019 17:55:21 +0000 (18:55 +0100)
committerDirk Brenken <dev@brenken.org>
Sun, 10 Nov 2019 18:10:07 +0000 (19:10 +0100)
* fix 'enabled' service check

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit e38810f38e8772c1f76397b64f71ac6f285fa90e)

net/banip/Makefile
net/banip/files/banip.init
net/banip/files/banip.sh

index 5cd5bcb9b2f1c3252a92c98a855e4903dc06addf..43a2c2ef49c71ebc2eceb817d7270e0f55d1b7d5 100644 (file)
@@ -6,7 +6,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=banip
-PKG_VERSION:=0.3.8
+PKG_VERSION:=0.3.9
 PKG_RELEASE:=1
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
index e9abfebadfeeeb9d1c2981f243cb581dc84bb3d5..c999c6b00e9b90b366988fc6da034e5fc05ce2e6 100755 (executable)
@@ -13,7 +13,7 @@ ban_script="/usr/bin/banip.sh"
 ban_pidfile="/var/run/banip.pid"
 
 if [ -s "${ban_pidfile}" ] && \
-       [ "${action}" != "help" ] && [ "${action}" != "status" ] && [ "${action}" != "boot" ]
+       [ "${action}" != "help" ] && [ "${action}" != "status" ] && [ "${action}" != "boot" ] && [ "${action}" != "enabled" ]
 then
        exit 1
 fi
index 51345138ff71ecff5ddacc2ae2e7e651e8b10f5c..c8639a9c6787607da4e1f8627b676049c4f2a749 100755 (executable)
@@ -13,7 +13,7 @@
 #
 LC_ALL=C
 PATH="/usr/sbin:/usr/bin:/sbin:/bin"
-ban_ver="0.3.8"
+ban_ver="0.3.9"
 ban_basever=""
 ban_enabled=0
 ban_automatic="1"