From 88674e21cfa5ad0166f6444bf7d442fb4cd03c7c Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 21 Feb 2016 20:45:56 +0000 Subject: [PATCH] Update gravity.sh Clear out `pihole.*` files from `/etc/pihole` as they are no longer needed. --- gravity.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gravity.sh b/gravity.sh index 83700529..321aec27 100755 --- a/gravity.sh +++ b/gravity.sh @@ -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..."