mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
lcd show wallet locked
This commit is contained in:
parent
467edeb201
commit
eabb94b34f
@ -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
|
||||
|
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user