From 759fc896c25fcdbeec88261eac389cdee889750b Mon Sep 17 00:00:00 2001 From: Mike Tedesco Date: Sun, 10 Jan 2016 16:39:37 -0500 Subject: [PATCH] Removing adList.conf from conditional check in backupLegacyPihole. Looks like adList.conf was created by gravity-adv.sh which seem to be no longer in use. --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index b80180cb..01e6ecf2 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -39,7 +39,7 @@ dhcpcdFile=/etc/dhcpcd.conf ####### FUCNTIONS ########## backupLegacyPihole() { -if [[ -f /etc/dnsmasq.d/adList.conf ]];then +if [[ -d /etc/pihole ]];then echo "Original Pi-hole detected. Initiating sub space transport" sudo mkdir -p /etc/pihole/original/ sudo mv /etc/dnsmasq.d/adList.conf /etc/pihole/original/adList.conf.$(date "+%Y-%m-%d")