show localip after install webui (#3496)

When turning the webUI off & on again
This commit is contained in:
ChuckNorrison 2022-12-08 00:58:12 +01:00 committed by GitHub
parent 4323dbbc49
commit 74ee085400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,8 +79,9 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
chown www-data:www-data -R /var/www/public
# install info
localIP=$(hostname -I | awk '{print $1}')
echo "# The WebUI is now available under:"
echo "# http://[LOCALIP]"
echo "# http://${localIP}"
exit 0
fi