Browse Source
Merge pull request #13880 from jmarcet/banip-logd
banip: removed logd check since logd dep has been dropped
lilik-openwrt-22.03
Dirk Brenken
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
11 deletions
-
net/banip/Makefile
-
net/banip/files/banip.sh
|
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=banip |
|
|
|
PKG_VERSION:=0.3.12 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_RELEASE:=3 |
|
|
|
PKG_LICENSE:=GPL-3.0-or-later |
|
|
|
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org> |
|
|
|
|
|
|
|
|
|
@ -121,16 +121,6 @@ f_envload() |
|
|
|
ban_target_dst_6="${ban_log_chain_dst}" |
|
|
|
fi |
|
|
|
|
|
|
|
# log daemon check |
|
|
|
# |
|
|
|
if [ "$(/etc/init.d/log running; printf "%u" "${?}")" -eq 1 ] |
|
|
|
then |
|
|
|
unset ban_logger |
|
|
|
f_log "info" "your log daemon 'logd' is not running, please enable 'logd' to use this service" |
|
|
|
f_rmtemp |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
# version check |
|
|
|
# |
|
|
|
if [ -z "${ban_basever}" ] || [ "${ban_ver%.*}" != "${ban_basever}" ] |
|
|
|