Update gravity.sh

Clear out `pihole.*` files from `/etc/pihole` as they are no longer needed.
This commit is contained in:
Adam Warner 2016-02-21 20:45:56 +00:00
parent a0673c7028
commit 88674e21cf

View file

@ -328,6 +328,12 @@ function gravity_advanced() {
}
function gravity_reload() {
#Clear no longer needed files...
echo ":::"
echo -n "::: Cleaning up un-needed files..."
$SUDO rm /etc/pihole/pihole.*
echo " done!"
# Reload hosts file
echo ":::"
echo -n "::: Refresh lists in dnsmasq..."