Fix issue raised in #421 (Use variable instead of hardcoded path, do not delete user created pihole.conf!)

This commit is contained in:
Promofaux 2016-04-03 22:10:04 +01:00
parent 0e6e8040ba
commit d710b97276

View file

@ -315,7 +315,7 @@ function gravity_reload() {
#Clear no longer needed files... #Clear no longer needed files...
echo ":::" echo ":::"
echo -n "::: Cleaning up un-needed files..." echo -n "::: Cleaning up un-needed files..."
$SUDO rm /etc/pihole/pihole.* $SUDO rm $piholeDir/pihole.*.txt
echo " done!" echo " done!"
# Reload hosts file # Reload hosts file