mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-16 12:29:03 +00:00
initial commit
This commit is contained in:
parent
60cc27a978
commit
925e8630ca
1 changed files with 8 additions and 0 deletions
8
advanced/enable-dns.sh
Normal file
8
advanced/enable-dns.sh
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue