aboutsummaryrefslogtreecommitdiff
path: root/net/banip/files
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2021-02-12 20:44:11 +0100
committerDirk Brenken <dev@brenken.org>2021-02-12 20:44:11 +0100
commite461c5e88cc347d496d3a160b9e8275f311f7524 (patch)
tree51c8234ab3c34605ca479c08d9fd24e7eab06a90 /net/banip/files
parenta7523a9fabae8842a2fd015d416d6634d5fb7496 (diff)
banip: bugfix
* fix a stale pid file during package update Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'net/banip/files')
-rwxr-xr-xnet/banip/files/banip.sh5
1 files changed, 3 insertions, 2 deletions
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
}