Browse Source

better test for if locked

dev
rootzoll 6 years ago
parent
commit
b0f08c8460
  1. 2
      home.admin/00mainMenu.sh

2
home.admin/00mainMenu.sh

@ -113,7 +113,7 @@ waitUntilChainNetworkIsReady()
boxwidth=40
dialog --backtitle "RaspiBlitz ${localip} - Welcome" --infobox "$l1$l2$l3" 5 ${boxwidth}
else
locked=$(lncli --chain=${network} --network=${chain}net getinfo 2>&1 | grep -c unlock)
locked=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} --network=${chain}net getinfo 2>&1 | grep -c unlock)
if [ ${locked} -gt 0 ]; then
./AAunlockLND.sh
echo "please wait ... update to next screen can be slow"

Loading…
Cancel
Save