added missing local ip

This commit is contained in:
rootzoll 2019-01-22 02:08:21 +01:00
parent 3dc4abefda
commit 82090daecf

View File

@ -165,6 +165,7 @@ if [ "${rtlWebinterface}" != "${choice}" ]; then
echo "RTL Webinterface Setting changed .."
sudo /home/admin/config.scripts/bonus.rtl.sh ${choice}
if [ "${choice}" = "on" ]; then
localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
l1="RTL web servcie will be ready AFTER NEXT REBOOT:"
l2="Try to open the following URL in your local webrowser"
l3="and login with your PASSWORD B."