From 1e4e65e2c0dd9509a3f60940ece1bbcb3afe81e2 Mon Sep 17 00:00:00 2001 From: Jacob Salmela Date: Fri, 17 Oct 2014 18:46:15 -0500 Subject: [PATCH] Update gravity-adv.sh --- gravity-adv.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gravity-adv.sh b/gravity-adv.sh index 278dd70a..97fdfda7 100755 --- a/gravity-adv.sh +++ b/gravity-adv.sh @@ -7,6 +7,7 @@ eventHorizion="/etc/dnsmasq.d/adList.conf" # Download the original URL to a text file for easier parsing echo "Getting yoyo ad list..." curl -o /tmp/yoyo.txt -s http://pgl.yoyo.org/adservers/serverlist.php?hostformat=unixhosts&mimetype=plaintext +sleep 10 if [ -f /tmp/yoyo.txt ];then cat /tmp/yoyo.txt | grep -v "<" | sed '/^$/d' | sed 's/\ /\\ /g' | sort > /tmp/matter.txt else