Browse Source

create_ipset cosmetic fix

pull/5/head
bolvan 9 years ago
parent
commit
f28b87331a
  1. 1
      ipset/create_ipset.sh

1
ipset/create_ipset.sh

@ -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…
Cancel
Save