more web checks

This commit is contained in:
Promofaux 2017-01-28 15:45:14 +00:00
parent 731d15f9b5
commit 01429d59bd

View file

@ -980,6 +980,8 @@ installLogrotate() {
installPihole() {
# Install base files and web interface
create_pihole_user
if [[ ${INSTALL_WEB} == true ]]; then
if [ ! -d "/var/www/html" ]; then
mkdir -p /var/www/html
fi
@ -991,6 +993,7 @@ installPihole() {
else
printf "\n:::\tWarning: 'lighty-enable-mod' utility not found. Please ensure fastcgi is enabled if you experience issues.\n"
fi
fi
installScripts
installConfigs
CreateLogFile