pi-hole/block hulu ads/setup-resolv.sh

10 lines
272 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