mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
This commit is contained in:
parent
2ef87ad110
commit
3035c9a366
1 changed files with 9 additions and 1 deletions
|
@ -1129,10 +1129,18 @@ checkSelinux() {
|
||||||
|
|
||||||
displayFinalMessage() {
|
displayFinalMessage() {
|
||||||
|
|
||||||
|
if [[ ${#1} -gt 0 ]] ; then
|
||||||
|
pwstring="$1"
|
||||||
|
elif [[ $(grep 'WEBPASSWORD' -c /etc/pihole/setupVars.conf) -gt 0 ]]; then
|
||||||
|
pwstring="unchanged"
|
||||||
|
else
|
||||||
|
pwstring="NOT SET"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ${INSTALL_WEB} == true ]]; then
|
if [[ ${INSTALL_WEB} == true ]]; then
|
||||||
additional="View the web interface at http://pi.hole/admin or http://${IPV4_ADDRESS%/*}/admin
|
additional="View the web interface at http://pi.hole/admin or http://${IPV4_ADDRESS%/*}/admin
|
||||||
|
|
||||||
Your Admin Webpage login password is ${1:-"NOT SET"}"
|
Your Admin Webpage login password is ${pwstring}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Final completion message to user
|
# Final completion message to user
|
||||||
|
|
Loading…
Reference in a new issue