Created
May 14, 2022 08:10
-
-
Save mpalourdio/b4b8ef47b25ef35ce1bdc50a0858b446 to your computer and use it in GitHub Desktop.
clear pihole history
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
service pihole-FTL stop | |
rm /etc/pihole/pihole-FTL.db | |
rm /var/log/pihole* | |
service pihole-FTL start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment