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
#Please use original: https://github.com/x0uid/SpotifyAdBlock/blob/master/hosts | |
#Pihole supports importing host file format to blacklist. |
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
#!/bin/bash | |
# This script will download and add the Spotify whitelist to your pihole | |
# Adapted from https://github.com/anudeepND/whitelist/blob/master/scripts/whitelist.sh | |
# Make sure you are pulling the latest raw of pi-hole compatible whitelist: https://gist.github.com/captainhook/9eb4132d6e58888e37c6bc6c73dd4e60 | |
# This is INCOMPATIBLE WITH UPCOMING Pihole v5 | |
#==================================================== | |
TICK="[\e[32m ✔ \e[0m]" | |
PIHOLE_LOCATION="/etc/pihole" | |
GRAVITY_UPDATE_COMMAND="pihole -g" |