1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-24 15:00:54 +00:00

Always put the information that we added a password if we did (not only on update but also on fresh install)

This commit is contained in:
DL6ER 2016-12-15 15:22:18 +01:00
parent e2898217d2
commit 1eeaa01234

View File

@ -1164,6 +1164,8 @@ main() {
echo "::: View the web interface at http://pi.hole/admin or http://${IPV4_ADDRESS%/*}/admin" echo "::: View the web interface at http://pi.hole/admin or http://${IPV4_ADDRESS%/*}/admin"
else else
echo "::: Update complete!" echo "::: Update complete!"
fi
if (( ${#pw} > 0 )) ; then if (( ${#pw} > 0 )) ; then
echo ":::" echo ":::"
echo "::: Note: As security measure a password has been installed for your web interface" echo "::: Note: As security measure a password has been installed for your web interface"
@ -1173,7 +1175,6 @@ main() {
echo "::: You can always change it using" echo "::: You can always change it using"
echo "::: pihole -a -p new_password" echo "::: pihole -a -p new_password"
fi fi
fi
echo ":::" echo ":::"
echo "::: The install log is located at: /etc/pihole/install.log" echo "::: The install log is located at: /etc/pihole/install.log"