mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
parent
e5f3e4733e
commit
8be46dd0a4
@ -159,9 +159,25 @@ case $CHOICE in
|
||||
echo "Gathering Information (please wait) ..."
|
||||
walletLocked=$(lncli getinfo 2>&1 | grep -c "Wallet is encrypted")
|
||||
if [ ${walletLocked} -eq 0 ]; then
|
||||
/home/admin/00infoBlitz.sh
|
||||
echo "Screen is not refreshing itself ... press ENTER to continue."
|
||||
read key
|
||||
while :
|
||||
do
|
||||
|
||||
# show the same info as on LCD screen
|
||||
/home/admin/00infoBlitz.sh
|
||||
|
||||
# wait 2 seconds for key input
|
||||
echo "Screen is updating in loop .... keep 'x' pressed to exit to menu."
|
||||
read -n 1 -t 2 keyPressed
|
||||
|
||||
# check if user wants to abort session
|
||||
if [ "${keyPressed}" = "x" ]; then
|
||||
echo ""
|
||||
echo "Returning to menu ....."
|
||||
sleep 4
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
else
|
||||
/home/admin/00raspiblitz.sh
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user