cosmetic
This commit is contained in:
parent
ca1ed35f92
commit
eb5c563fb0
@ -58,7 +58,7 @@ for url in $urls; do
|
||||
set_name=$(basename $url)
|
||||
curl -s -k "$url" >"$tmp"
|
||||
sort -u <"$tmp" | egrep "^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$" >"$tmp2"
|
||||
ipset create ${set_name} hash:net
|
||||
ipset -! create ${set_name} hash:net
|
||||
while read line; do
|
||||
ipset -! add ${set_name} "$line"
|
||||
done <"$tmp2"
|
||||
|
Loading…
Reference in New Issue
Block a user