mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-24 15:13:42 +00:00
9 lines
231 B
Bash
9 lines
231 B
Bash
|
# !/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
|