mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-04 12:05:04 +02:00
committed by
rootzoll
parent
98642ff382
commit
f45403c908
@@ -159,9 +159,25 @@ case $CHOICE in
|
|||||||
echo "Gathering Information (please wait) ..."
|
echo "Gathering Information (please wait) ..."
|
||||||
walletLocked=$(lncli getinfo 2>&1 | grep -c "Wallet is encrypted")
|
walletLocked=$(lncli getinfo 2>&1 | grep -c "Wallet is encrypted")
|
||||||
if [ ${walletLocked} -eq 0 ]; then
|
if [ ${walletLocked} -eq 0 ]; then
|
||||||
/home/admin/00infoBlitz.sh
|
while :
|
||||||
echo "Screen is not refreshing itself ... press ENTER to continue."
|
do
|
||||||
read key
|
|
||||||
|
# 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
|
else
|
||||||
/home/admin/00raspiblitz.sh
|
/home/admin/00raspiblitz.sh
|
||||||
exit 0
|
exit 0
|
||||||
|
Reference in New Issue
Block a user