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

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