mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
don't display web admin info in final dialog if it's not selected
This commit is contained in:
parent
f0bd7fae5c
commit
731d15f9b5
1 changed files with 8 additions and 2 deletions
|
@ -1055,6 +1055,13 @@ checkSelinux() {
|
||||||
}
|
}
|
||||||
|
|
||||||
displayFinalMessage() {
|
displayFinalMessage() {
|
||||||
|
|
||||||
|
if [[ ${INSTALL_WEB} == true ]]; then
|
||||||
|
additional="View the web interface at http://pi.hole/admin or http://${IPV4_ADDRESS%/*}/admin
|
||||||
|
|
||||||
|
Your Admin Webpage login password is ${1:-"NOT SET"}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Final completion message to user
|
# Final completion message to user
|
||||||
whiptail --msgbox --backtitle "Make it so." --title "Installation Complete!" "Configure your devices to use the Pi-hole as their DNS server using:
|
whiptail --msgbox --backtitle "Make it so." --title "Installation Complete!" "Configure your devices to use the Pi-hole as their DNS server using:
|
||||||
|
|
||||||
|
@ -1064,9 +1071,8 @@ IPv6: ${IPV6_ADDRESS:-"Not Configured"}
|
||||||
If you set a new IP address, you should restart the Pi.
|
If you set a new IP address, you should restart the Pi.
|
||||||
|
|
||||||
The install log is in /etc/pihole.
|
The install log is in /etc/pihole.
|
||||||
View the web interface at http://pi.hole/admin or http://${IPV4_ADDRESS%/*}/admin
|
|
||||||
|
|
||||||
Your Admin Webpage login password is ${1:-"NOT SET"}" ${r} ${c}
|
${additional}" ${r} ${c}
|
||||||
}
|
}
|
||||||
|
|
||||||
update_dialogs() {
|
update_dialogs() {
|
||||||
|
|
Loading…
Reference in a new issue