1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-11-29 12:32:19 -05:00
pi-hole/advanced/enable-dns.sh

9 lines
231 B
Bash
Raw Normal View History

2014-12-20 13:41:36 -05:00
# !/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