This commit is contained in:
parent
aca87311d1
commit
04e36eb9b5
2
start.sh
2
start.sh
@ -83,7 +83,9 @@ for country in $COUNTRIES; do
|
|||||||
echo "[$country] Criando novo ipset..."
|
echo "[$country] Criando novo ipset..."
|
||||||
ipset create "$country" hash:net maxelem 262144
|
ipset create "$country" hash:net maxelem 262144
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
for country in $COUNTRIES; do
|
||||||
while read -r subnet; do
|
while read -r subnet; do
|
||||||
ipset add "$country" "$subnet" -exist || echo "Falha ao adicionar: $subnet"
|
ipset add "$country" "$subnet" -exist || echo "Falha ao adicionar: $subnet"
|
||||||
echo "[$country | $subnet] Criando novo ipset..."
|
echo "[$country | $subnet] Criando novo ipset..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user