Browse Source

LND restart info on LCD

master
Christian Rotzoll 6 years ago
parent
commit
bf7f383a14
  1. 10
      home.admin/80scanLND.sh

10
home.admin/80scanLND.sh

@ -114,13 +114,17 @@ elif [ ${walletLocked} -gt 0 ]; then
infoStr=" Waiting for Wallet Auto-Unlock.\n Please wait up to 5min ..." infoStr=" Waiting for Wallet Auto-Unlock.\n Please wait up to 5min ..."
else else
title="Action Required" title="Action Required"
infoStr=" !!! LND WALLET IS LOCKED !!!\n" infoStr=" LND WALLET IS LOCKED !!!\n"
if [ "${rtlWebinterface}" = "on" ]; then if [ "${rtlWebinterface}" = "on" ]; then
height=6 height=6
infoStr="${infoStr} Browser: http://${localIP}:3000\n PasswordB=login / PasswordC=unlock" infoStr="${infoStr} Browser: http://${localIP}:3000\n PasswordB=login / PasswordC=unlock"
else else
infoStr="${infoStr} Please use SSH to unlock:" infoStr="${infoStr} Please use SSH to unlock:"
fi fi
if [ ${startcountLightning} -gt 1 ]; then
height=$((height+1))
infoStr=" LND restarted - login for details.\n${infoStr}"
fi
fi fi
else else
@ -137,7 +141,7 @@ else
# formatting progress values # formatting progress values
if [ ${#syncProgress} -eq 0 ]; then if [ ${#syncProgress} -eq 0 ]; then
if [ ${startcountBlockchain} -eq 0 ]; then if [ ${startcountBlockchain} -lt 2 ]; then
syncProgress="waiting" syncProgress="waiting"
else else
syncProgress="${startcountBlockchain} restarts" syncProgress="${startcountBlockchain} restarts"
@ -149,7 +153,7 @@ else
syncProgress="${syncProgress} %" syncProgress="${syncProgress} %"
fi fi
if [ ${#scanProgress} -eq 0 ]; then if [ ${#scanProgress} -eq 0 ]; then
if [ ${startcountLightning} -eq 0 ]; then if [ ${startcountLightning} -lt 2 ]; then
scanProgress="waiting" scanProgress="waiting"
else else
scanProgress="${startcountLightning} restarts" scanProgress="${startcountLightning} restarts"

Loading…
Cancel
Save