lcd show wallet locked

This commit is contained in:
rootzoll 2021-08-26 17:22:41 +02:00
parent 467edeb201
commit eabb94b34f
2 changed files with 15 additions and 0 deletions

View File

@ -104,6 +104,12 @@ while :
# TODO: ALSO SEPARATE GUI/ACTION FOR THE SCANNING / WALLET UNLOCK / ERROR DETECTION
# if lightning is syncing or scanning
source <(sudo /home/admin/config.scripts/blitz.statusscan.sh $lightning)
if [ "${walletLocked}" == "1" ]; then
/home/admin/setup.scripts/eventInfoWait.sh "walletlocked" "" lcd
sleep 3
continue
fi
if [ "${syncedToChain}" != "1" ]; then
/home/admin/setup.scripts/eventBlockchainSync.sh lcd
sleep 10

View File

@ -134,6 +134,15 @@ ssh admin@${localip}
Use your Password A
" 7 41
elif [ "${eventID}" == "walletlocked" ] && [ "${mode}" == "lcd" ]; then
dialog --backtitle "${backtitle}" --cr-wrap --infobox "
Lightning Wallet Locked
ssh admin@${localip}
Use your Password A
" 7 41
elif [ "${eventID}" == "copytarget" ] && [ "${mode}" == "lcd" ]; then
dialog --backtitle "${backtitle}" --cr-wrap --infobox "