mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00: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
1 changed files with 6 additions and 0 deletions
|
@ -328,6 +328,12 @@ function gravity_advanced() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function gravity_reload() {
|
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
|
# Reload hosts file
|
||||||
echo ":::"
|
echo ":::"
|
||||||
echo -n "::: Refresh lists in dnsmasq..."
|
echo -n "::: Refresh lists in dnsmasq..."
|
||||||
|
|
Loading…
Reference in a new issue