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 "$f" ] && {
|
||||
echo Adding to ipset "$1" : $f
|
||||
touch $TEMPIPSET
|
||||
sort $f | uniq | while read ip;
|
||||
do
|
||||
echo add $1 $ip >>$TEMPIPSET
|
||||
|
Loading…
Reference in New Issue
Block a user