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.

pull/156/head
Mike Tedesco 9 years ago
parent 0ef0b0b661
commit 759fc896c2

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

Loading…
Cancel
Save