diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..c2650f2 --- /dev/null +++ b/update.sh @@ -0,0 +1,8 @@ +pushd ~/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