mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-08 17:05:17 +02:00
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…
x
Reference in New Issue
Block a user