@ -1,8 +1,13 @@
pushd ~/ip_lists/
#!/bin/bash
echo "Starting"
date
cd ~/ip_lists/
git pull
cat ~/domain_resolver/ips_out.txt ~/ip_lists/blocklist.txt | sort | uniq > ~/ip_lists/tmp
mv tmp blocklist.txt
git add blocklist.txt
git commit -m "Auto-update"
git push
popd
echo ""