Created
October 20, 2021 22:11
-
-
Save maxrodrigo/a6ac7a36564fad28b83e68d397260436 to your computer and use it in GitHub Desktop.
Add blocklists to gravity.db with sqlite
This file contains 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
curl https://v.firebog.net/hosts/lists.php?type=tick | \ | |
xargs -I {} sqlite3 /etc/pihole/gravity.db "INSERT OR IGNORE INTO adlist (address, comment) VALUES ('{}','firebog');" | |
pihole -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment