#!/bin/sh
/usr/bin/fetch
-qo
-
'
http://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&mimetype=plaintext
'
\
| sed
-e
'
s/^/127.0.0.1 /
'
>
/etc/yoyodotorg.hosts
if
[
$?
-eq
0
]
;
then
/usr/local/etc/rc.d/dnsmasq reload
fi