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 | |
# Set the name of your Pi-hole Docker container | |
PIHOLE_CONTAINER_NAME='pihole-unbound' | |
# Set the name of your txt file with the domains to whitelist | |
WHITELIST_FILE_NAME='lista.txt' | |
# Check if the file exists | |
if [ ! -f "$WHITELIST_FILE_NAME" ]; then |