|
@ -121,16 +121,6 @@ f_envload() |
|
|
ban_target_dst_6="${ban_log_chain_dst}" |
|
|
ban_target_dst_6="${ban_log_chain_dst}" |
|
|
fi |
|
|
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 |
|
|
# version check |
|
|
# |
|
|
# |
|
|
if [ -z "${ban_basever}" ] || [ "${ban_ver%.*}" != "${ban_basever}" ] |
|
|
if [ -z "${ban_basever}" ] || [ "${ban_ver%.*}" != "${ban_basever}" ] |
|
|