mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 04:26:28 +02:00
info -> check wallet locked
This commit is contained in:
@@ -86,9 +86,12 @@ case $CHOICE in
|
|||||||
exit 1;
|
exit 1;
|
||||||
;;
|
;;
|
||||||
INFO)
|
INFO)
|
||||||
|
walletLocked=$(lncli getinfo 2>&1 | grep -c "Wallet is encrypted")
|
||||||
|
if [ ${walletLocked} -eq 0 ]; then
|
||||||
./00infoBlitz.sh
|
./00infoBlitz.sh
|
||||||
echo "Screen is not refreshing itself ... press ENTER to continue."
|
echo "Screen is not refreshing itself ... press ENTER to continue."
|
||||||
read key
|
read key
|
||||||
|
fi
|
||||||
./00raspiblitz.sh
|
./00raspiblitz.sh
|
||||||
;;
|
;;
|
||||||
lnbalance)
|
lnbalance)
|
||||||
|
Reference in New Issue
Block a user