Update install.sh
Signed-off-by: Sebastian Liebscher <112352529+sebastianliebscher@users.noreply.github.com>
This commit is contained in:
parent
aeb4239473
commit
7a20e9fdb1
|
@ -97,6 +97,8 @@ mv /etc/pihole/macvendor.db /macvendor.db
|
||||||
rm /etc/lighttpd/conf-enabled/99-unconfigured.conf
|
rm /etc/lighttpd/conf-enabled/99-unconfigured.conf
|
||||||
## Remove the default lighttpd placeholder page for good measure
|
## Remove the default lighttpd placeholder page for good measure
|
||||||
rm /var/www/html/index.lighttpd.html
|
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
|
if [ ! -f /.piholeFirstBoot ]; then
|
||||||
touch /.piholeFirstBoot
|
touch /.piholeFirstBoot
|
||||||
|
|
Loading…
Reference in New Issue