You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pi-hole/advanced/enable-dns.sh

9 lines
231 B

# !/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