Skip to content

willc/pihole-pause-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Pi-hole Pause Script

Quick setup script to enable passwordless pausing of Pi-hole ad blocking from your Mac.

What it does

Creates an SSH key, sets up passwordless authentication to your Pi-hole, and adds a pausepi command to your shell that pauses Pi-hole blocking for 60 seconds.

Setup

  1. Edit setup-pihole-pause.sh and set your Pi-hole IP and username:
   PIHOLE_IP="X.X.X.X"
   PIHOLE_USER="USERNAME"
  1. Run the setup script:
   chmod +x setup-pihole-pause.sh
   ./setup-pihole-pause.sh
  1. Reload your shell or open a new terminal:
   source ~/.zshrc  # or ~/.bashrc

Usage

Just type:

pausepi

Pi-hole will pause blocking for 60 seconds, no password needed.

Requirements

  • Pi-hole installed and accessible via SSH
  • Your user must have sudo permissions on the Pi-hole for the pihole command

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages