Automated Whitelist Script

A simple tool to add commonly white listed domains to your Pi-Hole setup.

Github: anudeepND / whitelist

Installation

cd /opt
git clone https://github.com/anudeepND/whitelist.git
cd whitelist/scripts
sudo ./whitelist.sh

For Automated Update

Make the script to run the script at 1AM on the last day of the week

sudo nano /etc/crontab

Add this line at the end of the file:

/etc/crontab
0 1 * * */7 root /opt/whitelist/scripts/whitelist.sh

Last updated