Changes

From Amahi Wiki
Jump to: navigation, search
No change in size ,  17:29, 24 June 2015
#!/bin/sh
# Down Download the DNSmasq formatted ad block list
curl "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq&showintro=0&mimetype=plaintext" | sed "s/127\.0\.0\.1/192.168.1.99/" > /etc/dnsmasq.adblock.conf
# Restart DNSmasq
/etc/init.d/service dnsmasq restart
chmod -v 755 /usr/local/bin/get-adlist.sh