mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
One check less
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
d030492664
commit
26ef0be9d6
@ -2490,10 +2490,6 @@ main() {
|
|||||||
# Update local and remote versions via updatechecker
|
# Update local and remote versions via updatechecker
|
||||||
/opt/pihole/updatecheck.sh
|
/opt/pihole/updatecheck.sh
|
||||||
|
|
||||||
if [[ "${useUpdateVars}" == false ]]; then
|
|
||||||
displayFinalMessage "${pw}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If there is a password
|
# If there is a password
|
||||||
if ((${#pw} > 0)); then
|
if ((${#pw} > 0)); then
|
||||||
# display the password
|
# display the password
|
||||||
@ -2502,6 +2498,9 @@ main() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${useUpdateVars}" == false ]]; then
|
if [[ "${useUpdateVars}" == false ]]; then
|
||||||
|
# Display the completion dialog
|
||||||
|
displayFinalMessage "${pw}"
|
||||||
|
|
||||||
# If the Web interface was installed,
|
# If the Web interface was installed,
|
||||||
printf " %b View the web interface at http://pi.hole:${WEBPORT}/admin or http://%s/admin\\n\\n" "${INFO}" "${IPV4_ADDRESS%/*}:${WEBPORT}"
|
printf " %b View the web interface at http://pi.hole:${WEBPORT}/admin or http://%s/admin\\n\\n" "${INFO}" "${IPV4_ADDRESS%/*}:${WEBPORT}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user