PiPass / blockpage

A temporary unblock solution and blockpage for your Pi-Hole system
BSD 3-Clause "New" or "Revised" License
196 stars 14 forks source link

Setup: More automation #19

Closed JoeSchubert closed 5 years ago

JoeSchubert commented 5 years ago

I am unable to test this on a fully fresh pi install right now. I tested the changed code lines on files locally, and they behaved correctly. NOTE: The lighttpd.conf assumes that there will be a line like server.error-handler-404 = "somethingsomethingsomething" once pihole finishes installing. It will only change an existing line, it won't add it if it does not exist. I would have to modify the regex to be like the BLOCKINGMODE regex if that causes issues. That regex changes anything starting with BLOCKINGMODE= to BLOCKINGMODE=IP, it adds it if not.

I also modified the Readme to reflect that these would be automated.

roenw commented 5 years ago

I tested the regex commands, they look like they work.