Fix issue raised in #421 (Use variable instead of hardcoded path, do not delete user created pihole.conf!)
This commit is contained in:
parent
0e6e8040ba
commit
d710b97276
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue