zapret/ipset/get_ipban.sh

14 lines
227 B
Bash
Raw Normal View History

2024-10-28 06:32:24 +00:00
#!/bin/sh
# resolve only ipban user host list
IPSET_DIR="$(dirname "$0")"
IPSET_DIR="$(cd "$IPSET_DIR"; pwd)"
. "$IPSET_DIR/def.sh"
getipban
"$IPSET_DIR/create_ipset.sh"
[ "$MODE_FILTER" = hostlist ] && hup_zapret_daemons