Skip to content

Bash script for blinking a led for each ad blocked by PiHole.

License

Notifications You must be signed in to change notification settings

esnalabu/piholeblink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Piholeblink

Bash script for blinking a led for each ad blocked by PiHole. Requires a Raspberry PI running [PiHole](https://github.com/dstinebaugh/pihole-led/ PiHole). Repo also contains links to a script for making piholeblink run as a daemon, an a logrotate script. Default pin is physical pin 12(GPIO pin 18).

Inspired by on a script by twotonefox found here: https://discourse.pi-hole.net/t/add-gpio-pins-for-led-on-blocked-ad-alerts/53/5

in turn based on this repo by dstinebaugh: https://github.com/dstinebaugh/pihole-led

Install and setup

As root:

Get piholeblink

Clone repo into /opt/piholeblink:

git clone $gitrepo /opt/piholeblink

or download the files and put them in /opt/piholeblink.

Daemon mode: Start on boot

See this repo for adding piholeblink as a service: https://github.com/jasonblewis/sample-service-script

About

Bash script for blinking a led for each ad blocked by PiHole.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages