mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-03 09:28:22 +02:00
better test for if locked
This commit is contained in:
parent
b2124b9b3c
commit
b0f08c8460
@ -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…
x
Reference in New Issue
Block a user