mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-25 16:50:14 +00:00
Include CSS file
This commit is contained in:
parent
6e788668f9
commit
e7241a989c
3 changed files with 222 additions and 2 deletions
|
@ -842,6 +842,14 @@ installPiholeWeb() {
|
|||
echo " done!"
|
||||
fi
|
||||
|
||||
if [ -f "/var/www/html/pihole/index.css" ]; then
|
||||
echo "::: Existing index.css detected, not overwriting"
|
||||
else
|
||||
echo -n "::: index.css missing, replacing... "
|
||||
cp /etc/.pihole/advanced/index.css /var/www/html/pihole/
|
||||
echo " done!"
|
||||
fi
|
||||
|
||||
else
|
||||
mkdir /var/www/html/pihole
|
||||
if [ -f /var/www/html/index.lighttpd.html ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue