mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-29 21:12:39 +02:00
main menu local ip
This commit is contained in:
@@ -11,6 +11,9 @@ infoFile="/home/admin/raspiblitz.info"
|
|||||||
source ${infoFile}
|
source ${infoFile}
|
||||||
source ${configFile}
|
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
|
# BASIC MENU INFO
|
||||||
HEIGHT=13
|
HEIGHT=13
|
||||||
WIDTH=64
|
WIDTH=64
|
||||||
|
@@ -131,9 +131,6 @@ OPTIONS=()
|
|||||||
# check if RTL web interface is installed
|
# check if RTL web interface is installed
|
||||||
runningRTL=$(sudo ls /etc/systemd/system/RTL.service 2>/dev/null | grep -c 'RTL.service')
|
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
|
# function to use later
|
||||||
waitUntilChainNetworkIsReady()
|
waitUntilChainNetworkIsReady()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user