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

9 lines
270 B
Bash
Raw Normal View History

2014-10-17 19:12:45 -05:00
# !/bin/bash
2014-11-02 13:40:51 -06:00
# Resolver file
2014-10-17 19:12:45 -05:00
sudo mv /etc/resolv.conf /etc/resolv.conf.orig
2014-10-17 19:16:41 -05:00
sudo mv /etc/resolv.conf.pihole /etc/resolv.conf
2014-11-02 13:40:51 -06:00
# DNS config file
2014-11-02 14:07:24 -06:00
sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
2014-11-02 13:40:51 -06:00
sudo mv /etc/dnsmasq.conf.pihole /etc/dnsmasq.conf
2014-10-17 19:12:45 -05:00
sudo service dnsmasq start