Browse Source

info -> check wallet locked

master
Christian Rotzoll 6 years ago
parent
commit
cf8cbd3878
  1. 9
      home.admin/00mainMenu.sh

9
home.admin/00mainMenu.sh

@ -86,9 +86,12 @@ case $CHOICE in
exit 1; exit 1;
;; ;;
INFO) INFO)
./00infoBlitz.sh walletLocked=$(lncli getinfo 2>&1 | grep -c "Wallet is encrypted")
echo "Screen is not refreshing itself ... press ENTER to continue." if [ ${walletLocked} -eq 0 ]; then
read key ./00infoBlitz.sh
echo "Screen is not refreshing itself ... press ENTER to continue."
read key
fi
./00raspiblitz.sh ./00raspiblitz.sh
;; ;;
lnbalance) lnbalance)

Loading…
Cancel
Save