mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
initial commit
This commit is contained in:
parent
60cc27a978
commit
925e8630ca
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…
Reference in New Issue
Block a user