1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-10-31 23:45:04 -04:00
pi-hole/block hulu ads/setup-resolv.sh

9 lines
270 B
Bash
Raw Normal View History

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