1
0
mirror of https://github.com/bol-van/zapret.git synced 2025-04-17 04:22:59 +03:00

create_ipset cosmetic fix

This commit is contained in:
bolvan 2016-03-16 08:48:14 +03:00
parent d3e53ebede
commit f28b87331a

@ -18,6 +18,7 @@ do
[ -f $TEMPIPSET ] && rm -f $TEMPIPSET
[ -f "$f" ] && {
echo Adding to ipset "$1" : $f
touch $TEMPIPSET
sort $f | uniq | while read ip;
do
echo add $1 $ip >>$TEMPIPSET