Update install.sh

Signed-off-by: Sebastian Liebscher <112352529+sebastianliebscher@users.noreply.github.com>
This commit is contained in:
Sebastian Liebscher 2023-04-30 06:31:18 +02:00 committed by GitHub
parent aeb4239473
commit 7a20e9fdb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ mv /etc/pihole/macvendor.db /macvendor.db
rm /etc/lighttpd/conf-enabled/99-unconfigured.conf
## Remove the default lighttpd placeholder page for good measure
rm /var/www/html/index.lighttpd.html
## Remove redundant directories created by the installer to reduce docker image size
rm -rf /tmp/* /var/www/html/admin/.git* /etc/.pihole/.git*
if [ ! -f /.piholeFirstBoot ]; then
touch /.piholeFirstBoot