7630cc306ce7f94c3c16715665438df524a3ae00
   1# simple blacklist updater for OpenWRT
   2
   3#! /bin/bash
   4set -e
   5
   6blacklist=http://www.squidblacklist.org/downloads/dg-ads.acl
   7mkdir -p /tmp/dnsmasq-blocklist
   8curl -s --max-filesize 20M -o  /tmp/dnsmasq-blocklist/sbl-dg-ads.hosts
   9$blacklist
  10/etc/init.d/dnsmasq restart