Small fixes

This commit is contained in:
ValdikSS 2020-05-25 20:45:15 +03:00
parent 91b2584845
commit 22890aa29a
3 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,7 @@
#!/bin/bash
set -e
HERE="$(dirname "$(readlink -f "${0}")")"
cd "$HERE"

View File

@ -77,3 +77,5 @@ echo "iplist_all: $(wc -l result/iplist_all.txt)" >&2
echo "iplist_special_range: $(wc -l result/iplist_special_range.txt)" >&2
echo "iplist_blockedbyip: $(wc -l result/iplist_blockedbyip.txt)" >&2
echo "iplist_blockedbyip_noid2971: $(wc -l result/iplist_blockedbyip_noid2971.txt)" >&2
exit 0

View File

@ -17,3 +17,5 @@ set -e
#cp result/squid-whitelist-zones.conf /etc/squid/whitelistedhosts.txt
#cp result/iplist_all.txt /etc/squid/whitelistedips.txt
#systemctl reload squid || true
exit 0