1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-19 22:58:16 +00:00
pi-hole/block hulu ads/setup-resolv.sh

9 lines
271 B
Bash
Raw Normal View History

2014-10-18 00:12:45 +00:00
# !/bin/bash
2014-11-02 19:40:51 +00:00
# Resolver file
2014-10-18 00:12:45 +00:00
sudo mv /etc/resolv.conf /etc/resolv.conf.orig
2014-10-18 00:16:41 +00:00
sudo mv /etc/resolv.conf.pihole /etc/resolv.conf
2014-11-02 19:40:51 +00:00
# DNS config file
sudo mv /etc/dnsmasq.conf /etc/rdnsmasq.conf.orig
sudo mv /etc/dnsmasq.conf.pihole /etc/dnsmasq.conf
2014-10-18 00:12:45 +00:00
sudo service dnsmasq start