dnsFile2="/etc/dnsmasq.conf.orig"

added .orig
This commit is contained in:
Chad Howell 2016-01-25 01:38:41 -05:00
parent ac373545d0
commit d74c8261aa

View file

@ -283,7 +283,7 @@ setDNS(){
versionCheckDNSmasq(){ versionCheckDNSmasq(){
# Check if /etc/dnsmasq.conf is from pihole. If so replace with an original and install new in .d directory # Check if /etc/dnsmasq.conf is from pihole. If so replace with an original and install new in .d directory
dnsFile1="/etc/dnsmasq.conf" dnsFile1="/etc/dnsmasq.conf"
dnsFile2="/etc/dnsmasq.conf" dnsFile2="/etc/dnsmasq.conf.orig"
dnsSearch="addn-hosts=/etc/pihole/gravity.list" dnsSearch="addn-hosts=/etc/pihole/gravity.list"
# Check dnsmasq.conf for pihole magic # Check dnsmasq.conf for pihole magic