remove no longer needed code
This commit is contained in:
parent
3f73c61cee
commit
a7fa7466fb
14
gravity.sh
14
gravity.sh
|
@ -97,20 +97,6 @@ gravity_collapse() {
|
||||||
done < ${adListDefault}
|
done < ${adListDefault}
|
||||||
echo " done!"
|
echo " done!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create the pihole resource directory if it doesn't exist. Future files will be stored here
|
|
||||||
if [[ -d ${piholeDir} ]];then
|
|
||||||
# Temporary hack to allow non-root access to pihole directory
|
|
||||||
# Will update later, needed for existing installs, new installs should
|
|
||||||
# create this directory as non-root
|
|
||||||
chmod 777 ${piholeDir}
|
|
||||||
echo ":::"
|
|
||||||
echo "::: Existing pihole directory found"
|
|
||||||
else
|
|
||||||
echo "::: Creating pihole directory..."
|
|
||||||
mkdir ${piholeDir}
|
|
||||||
chmod 777 ${piholeDir}
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# patternCheck - check to see if curl downloaded any new files.
|
# patternCheck - check to see if curl downloaded any new files.
|
||||||
|
|
Loading…
Reference in New Issue