From e461c5e88cc347d496d3a160b9e8275f311f7524 Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Fri, 12 Feb 2021 20:44:11 +0100 Subject: [PATCH] banip: bugfix * fix a stale pid file during package update Signed-off-by: Dirk Brenken --- net/banip/Makefile | 2 +- net/banip/files/banip.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/net/banip/Makefile b/net/banip/Makefile index 392f42e47..f70bdb08e 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 aca1c8538..3b78e03d0 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 }