Update gravity.sh
Clear out `pihole.*` files from `/etc/pihole` as they are no longer needed.
This commit is contained in:
parent
a0673c7028
commit
88674e21cf
|
@ -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..."
|
||||
|
|
Loading…
Reference in New Issue