From 925e8630ca012dcd6795a911ab3497ab53cef9d6 Mon Sep 17 00:00:00 2001 From: jacobsalmela Date: Sat, 20 Dec 2014 12:41:36 -0600 Subject: [PATCH] initial commit --- advanced/enable-dns.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 advanced/enable-dns.sh diff --git a/advanced/enable-dns.sh b/advanced/enable-dns.sh new file mode 100644 index 00000000..0d04ed0f --- /dev/null +++ b/advanced/enable-dns.sh @@ -0,0 +1,8 @@ +# !/bin/bash +# Download the ad list +sudo /usr/local/bin/gravity.sh + +# Enable DNS and start blocking ads +sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig +sudo mv /etc/dnsmasq.conf.pihole /etc/dnsmasq.conf +sudo service dnsmasq start