This commit is contained in:
parent
9008db4068
commit
f5ab4b3ac3
4
start.sh
4
start.sh
@ -59,10 +59,10 @@ for country in $COUNTRIES; do
|
|||||||
|
|
||||||
if ipset list "$country" &>/dev/null; then
|
if ipset list "$country" &>/dev/null; then
|
||||||
echo "[$country] Limpando ipset antigo..."
|
echo "[$country] Limpando ipset antigo..."
|
||||||
ipset flush "$country"
|
ipset destroy "$country"
|
||||||
else
|
else
|
||||||
echo "[$country] Criando novo ipset..."
|
echo "[$country] Criando novo ipset..."
|
||||||
ipset create "$country" hash:net
|
ipset create "$country" hash:net maxelem 262144
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while read -r subnet; do
|
while read -r subnet; do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user