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
1 changed files with 1 additions and 1 deletions

View File

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