mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
better test for if locked
This commit is contained in:
@@ -113,7 +113,7 @@ waitUntilChainNetworkIsReady()
|
|||||||
boxwidth=40
|
boxwidth=40
|
||||||
dialog --backtitle "RaspiBlitz ${localip} - Welcome" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
dialog --backtitle "RaspiBlitz ${localip} - Welcome" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
||||||
else
|
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
|
if [ ${locked} -gt 0 ]; then
|
||||||
./AAunlockLND.sh
|
./AAunlockLND.sh
|
||||||
echo "please wait ... update to next screen can be slow"
|
echo "please wait ... update to next screen can be slow"
|
||||||
|
Reference in New Issue
Block a user