mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
show lnderror short on LCD
This commit is contained in:
parent
dbcd6ada12
commit
0bd246a05d
1 changed files with 15 additions and 4 deletions
|
@ -75,13 +75,24 @@ elif [ ${lndActive} -eq 0 ] || [ ${#lndErrorFull} -gt 0 ] || [ "${1}" == "lightn
|
|||
width=43
|
||||
title="Lightning Info"
|
||||
if [ ${uptime} -gt 600 ] || [ "${1}" == "lightning-error" ]; then
|
||||
infoStr=" The LND service is not running.\n Login for more details:"
|
||||
if [ ${#lndErrorShort} -gt 0 ]; then
|
||||
lndErrorShort=" ${lndErrorShort}\n"
|
||||
fi
|
||||
if [ ${lndActive} -eq 0 ]; then
|
||||
infoStr=" The LND service is not running.\n${lndErrorShort} Login for more details:"
|
||||
else
|
||||
infoStr=" The LND service is running with error.\n${lndErrorShort} Login for more details:"
|
||||
fi
|
||||
if [ "$USER" == "admin" ]; then
|
||||
clear
|
||||
echo ""
|
||||
echo "*********************************"
|
||||
echo "****************************************"
|
||||
if [ ${lndActive} -eq 0 ]; then
|
||||
echo "* The LND service is not running."
|
||||
echo "*********************************"
|
||||
else
|
||||
echo "* The LND service is running with error."
|
||||
fi
|
||||
echo "****************************************"
|
||||
echo "If you just started some config/setup, this might be OK."
|
||||
echo
|
||||
if [ ${startcountLightning} -gt 1 ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue