mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-02 14:40:52 +03:00
create_ipset cosmetic fix
This commit is contained in:
parent
d3e53ebede
commit
f28b87331a
@ -18,6 +18,7 @@ do
|
|||||||
[ -f $TEMPIPSET ] && rm -f $TEMPIPSET
|
[ -f $TEMPIPSET ] && rm -f $TEMPIPSET
|
||||||
[ -f "$f" ] && {
|
[ -f "$f" ] && {
|
||||||
echo Adding to ipset "$1" : $f
|
echo Adding to ipset "$1" : $f
|
||||||
|
touch $TEMPIPSET
|
||||||
sort $f | uniq | while read ip;
|
sort $f | uniq | while read ip;
|
||||||
do
|
do
|
||||||
echo add $1 $ip >>$TEMPIPSET
|
echo add $1 $ip >>$TEMPIPSET
|
||||||
|
Loading…
Reference in New Issue
Block a user