From: Dirk Brenken Date: Fri, 12 Feb 2021 19:44:11 +0000 (+0100) Subject: banip: bugfix X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e461c5e88cc347d496d3a160b9e8275f311f7524;p=feed%2Fpackages.git banip: bugfix * fix a stale pid file during package update Signed-off-by: Dirk Brenken --- diff --git a/net/banip/Makefile b/net/banip/Makefile index 392f42e470..f70bdb08e6 100644 --- a/net/banip/Makefile +++ b/net/banip/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=banip PKG_VERSION:=0.7.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Dirk Brenken diff --git a/net/banip/files/banip.sh b/net/banip/files/banip.sh index aca1c8538a..3b78e03d0b 100755 --- a/net/banip/files/banip.sh +++ b/net/banip/files/banip.sh @@ -93,6 +93,7 @@ f_load() f_ipset "destroy" f_jsnup "disabled" f_rmbckp + f_rmtmp f_log "info" "banIP is currently disabled, please set the config option 'ban_enabled' to '1' to use this service" exit 0 fi @@ -112,12 +113,12 @@ f_dir() mkdir -p "${dir}" if [ "${?}" = "0" ] then - f_log "info" "directory '${dir}' created" + f_log "debug" "directory '${dir}' created" else f_log "err" "directory '${dir}' could not be created" fi else - f_log "info" "directory '${dir}' is used" + f_log "debug" "directory '${dir}' is used" fi }