Skip to content

Commit

Permalink
as mentioned in #1323
Browse files Browse the repository at this point in the history
It is worth noting that this page will exist on a bare metal fresh installation, too. Should we delete it? Probably not - we shouldn't touch that directory really - but in docker we have more control as we build the image from fresh each time. TL;DR, we can do things here that we shouldn't in bare metal installs

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
  • Loading branch information
PromoFaux committed Feb 15, 2023
1 parent 39d23d9 commit 4961bf4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/s6/debian-root/usr/local/bin/install.sh
Expand Up @@ -92,6 +92,12 @@ sed -i $'s/)\s*reconfigurePiholeFunc/) unsupportedFunc/g' /usr/local/bin/pihole
# (it is otherwise only updated when FTL is updated, which doesn't happen as part of the normal course of running this image)
mv /etc/pihole/macvendor.db /macvendor.db


## Remove the default lighttpd unconfigured config:
rm /etc/lighttpd/conf-enabled/99-unconfigured.conf
## Remove the default lighttpd placeholder page for good measure
rm /var/www/html/index.lighttpd.html

if [ ! -f /.piholeFirstBoot ]; then
touch /.piholeFirstBoot
fi
Expand Down

0 comments on commit 4961bf4

Please sign in to comment.