mirror of
https://github.com/bol-van/zapret.git
synced 2026-01-06 08:38:49 +03:00
init.d,ipset: ability to specify custom binaries location
This commit is contained in:
@@ -38,8 +38,8 @@ ZUSERLIST_IPBAN="$IPSET_DIR/zapret-hosts-user-ipban.txt"
|
||||
ZUSERLIST_EXCLUDE="$IPSET_DIR/zapret-hosts-user-exclude.txt"
|
||||
|
||||
|
||||
IP2NET="$IPSET_DIR/../ip2net/ip2net"
|
||||
MDIG="$IPSET_DIR/../mdig/mdig"
|
||||
[ -n "$IP2NET" ] || IP2NET="$IPSET_DIR/../ip2net/ip2net"
|
||||
[ -n "$MDIG" ] || MDIG="$IPSET_DIR/../mdig/mdig"
|
||||
[ -z "$MDIG_THREADS" ] && MDIG_THREADS=30
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user