2011
09.08

DD-WRT – blocking ads

From here:


wget -O - http://www.mvps.org/winhelp2002/hosts.txt | grep 127.0.0.1 | sed -e '2,$s/127.0.0.1/0.0.0.0/g' -e 's/[[:space:]]*#.*$//' > /etc/hosts
logger "$0: Hosts-file downloaded"
stopservice dnsmasq
startservice dnsmasq
logger "$0: DNSMasq restarted"

No Comment.

Add Your Comment