Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

ecspresso/Pihole-scheduled-blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to

  1. Copy script.sh to /home/pi/script.sh.
  2. Edit the script and replace with any domain you want to block. These go under the variable list.
  3. Schedule the script in cron. See crontab example.sh for an example.

Commands

script.sh block to add to the blacklist and script.sh unblock to remove.

About

Block domains on a schedule using Pi-Hole.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages