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.

This commit is contained in:
Mike Tedesco 2016-01-10 16:39:37 -05:00
parent 0ef0b0b661
commit 759fc896c2

View file

@ -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")