From 48ecfb614b9a520ce05228c25ed35f34f259e041 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Wed, 17 Apr 2019 03:31:51 +0100 Subject: [PATCH] main menu local ip --- home.admin/00mainMenu.sh | 3 +++ home.admin/00raspiblitz.sh | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index dc34c90..1f3108e 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -11,6 +11,9 @@ infoFile="/home/admin/raspiblitz.info" source ${infoFile} source ${configFile} +# get the local network IP to be displayed on the lCD +localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/') + # BASIC MENU INFO HEIGHT=13 WIDTH=64 diff --git a/home.admin/00raspiblitz.sh b/home.admin/00raspiblitz.sh index 4165c88..3072b60 100755 --- a/home.admin/00raspiblitz.sh +++ b/home.admin/00raspiblitz.sh @@ -131,9 +131,6 @@ OPTIONS=() # check if RTL web interface is installed runningRTL=$(sudo ls /etc/systemd/system/RTL.service 2>/dev/null | grep -c 'RTL.service') -# get the local network IP to be displayed on the lCD -localip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/') - # function to use later waitUntilChainNetworkIsReady() {