This commit is contained in:
parent
6ef357084c
commit
370746bf6e
4
start.sh
4
start.sh
@ -15,8 +15,8 @@ for country in $COUNTRIES; do
|
|||||||
url="https://www.ipdeny.com/ipblocks/data/countries/${country}.zone"
|
url="https://www.ipdeny.com/ipblocks/data/countries/${country}.zone"
|
||||||
echo "Tentando baixar lista de IPs para o país: $country"
|
echo "Tentando baixar lista de IPs para o país: $country"
|
||||||
|
|
||||||
tmp_file="${country}.zone.tmp"
|
tmp_file="zone/${country}.zone.tmp"
|
||||||
target_file="${country}.zone"
|
target_file="zone/${country}.zone"
|
||||||
|
|
||||||
if curl -sSf -o "$tmp_file" "$url"; then
|
if curl -sSf -o "$tmp_file" "$url"; then
|
||||||
echo "Download concluído para $country."
|
echo "Download concluído para $country."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user