mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-24 15:13:42 +00:00
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:
parent
0ef0b0b661
commit
759fc896c2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ dhcpcdFile=/etc/dhcpcd.conf
|
||||||
####### FUCNTIONS ##########
|
####### FUCNTIONS ##########
|
||||||
backupLegacyPihole()
|
backupLegacyPihole()
|
||||||
{
|
{
|
||||||
if [[ -f /etc/dnsmasq.d/adList.conf ]];then
|
if [[ -d /etc/pihole ]];then
|
||||||
echo "Original Pi-hole detected. Initiating sub space transport"
|
echo "Original Pi-hole detected. Initiating sub space transport"
|
||||||
sudo mkdir -p /etc/pihole/original/
|
sudo mkdir -p /etc/pihole/original/
|
||||||
sudo mv /etc/dnsmasq.d/adList.conf /etc/pihole/original/adList.conf.$(date "+%Y-%m-%d")
|
sudo mv /etc/dnsmasq.d/adList.conf /etc/pihole/original/adList.conf.$(date "+%Y-%m-%d")
|
||||||
|
|
Loading…
Reference in a new issue