Skip to content

Addition of a whitelist install script and crontab update. #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ The following instructions will create a cron job to run every monday at 02:30 (
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
30 2 * * 1 /usr/bin/curl -sSl https://raw.githubusercontent.com/mmotti/pihole-regex/master/install.py | /usr/bin/python3
35 2 * * 1 /usr/bin/curl -sSl https://raw.githubusercontent.com/mmotti/pihole-regex/master/install_whitelist.sh | /bin/bash
```
3. Save changes

Expand Down
16 changes: 16 additions & 0 deletions install_whitelist.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#! /bin/bash

# User reported false positives for MMotti's regex filters
# https://github.com/mmotti

# This file is not currently referenced during install.
# If you experience issues with any of the following domains,
# you will need the add them manually to your Pi-hole installation.
pihole -w \
anti-ad.net \
iij.ad.jp \
stats.foldingathome.org \
stats.stackexchange.com \
www.ad.nl \
www.iij.ad.jp \
support.iam.ad.azure.com
1 change: 1 addition & 0 deletions whitelist.list
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ stats.foldingathome.org
stats.stackexchange.com
www.ad.nl
www.iij.ad.jp
support.iam.ad.azure.com