Commit cdf2bfbb authored by Thomas Tsiakalakis's avatar Thomas Tsiakalakis

Update gen.sh

parent 86db2005
......@@ -7,11 +7,11 @@ while read list; do
curl --connect-timeout 2 -s ${list} | grep -v '#' | rev | cut -d ' ' -f 1 | rev | grep '\.' | grep -v '0\.0\.0\.0' >> ${TMPFILE}
done < lists.txt
echo "$(wc -l ${TMPFILE}) lines"
echo "$(wc -l ${TMPFILE} | cut -d ' ' -f 1) lines"
echo "sorting..."
sort -u ${TMPFILE} > ${TMPFILE_LIST}
rm ${TMPFILE}
echo "$(wc -l ${TMPFILE_list}) lines"
echo "$(wc -l ${TMPFILE_list} | cut -d ' ' -f 1) lines"
echo "generating bind config..."
:> zones.blocked
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment