mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-29 12:50:33 +05:00
14 lines
218 B
Bash
14 lines
218 B
Bash
|
#!/bin/sh
|
||
|
# resolve user host list
|
||
|
|
||
|
IPSET_DIR="$(dirname "$0")"
|
||
|
IPSET_DIR="$(cd "$IPSET_DIR"; pwd)"
|
||
|
|
||
|
. "$IPSET_DIR/def.sh"
|
||
|
|
||
|
getexclude
|
||
|
|
||
|
"$IPSET_DIR/create_ipset.sh"
|
||
|
|
||
|
[ "$MODE_FILTER" = hostlist ] && hup_zapret_daemons
|