mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-24 23:26:42 +00:00
14 lines
227 B
Bash
Executable File
14 lines
227 B
Bash
Executable File
#!/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
|