mirror of
https://bitbucket.org/anticensority/antizapret-pac-generator-light.git
synced 2024-11-23 21:56:04 +03:00
Small fixes
This commit is contained in:
parent
91b2584845
commit
22890aa29a
3
doall.sh
3
doall.sh
@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
HERE="$(dirname "$(readlink -f "${0}")")"
|
HERE="$(dirname "$(readlink -f "${0}")")"
|
||||||
cd "$HERE"
|
cd "$HERE"
|
||||||
|
|
||||||
|
2
parse.sh
2
parse.sh
@ -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_special_range: $(wc -l result/iplist_special_range.txt)" >&2
|
||||||
echo "iplist_blockedbyip: $(wc -l result/iplist_blockedbyip.txt)" >&2
|
echo "iplist_blockedbyip: $(wc -l result/iplist_blockedbyip.txt)" >&2
|
||||||
echo "iplist_blockedbyip_noid2971: $(wc -l result/iplist_blockedbyip_noid2971.txt)" >&2
|
echo "iplist_blockedbyip_noid2971: $(wc -l result/iplist_blockedbyip_noid2971.txt)" >&2
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
@ -17,3 +17,5 @@ set -e
|
|||||||
#cp result/squid-whitelist-zones.conf /etc/squid/whitelistedhosts.txt
|
#cp result/squid-whitelist-zones.conf /etc/squid/whitelistedhosts.txt
|
||||||
#cp result/iplist_all.txt /etc/squid/whitelistedips.txt
|
#cp result/iplist_all.txt /etc/squid/whitelistedips.txt
|
||||||
#systemctl reload squid || true
|
#systemctl reload squid || true
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user