mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 18:07:45 +01:00
better unlock detection
This commit is contained in:
@@ -112,7 +112,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=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log | grep -c unlock)
|
locked=$(lncli --chain=${network} getinfo 2>&1 | grep -c unlock)
|
||||||
if [ ${locked} -gt 0 ]; then
|
if [ ${locked} -gt 0 ]; then
|
||||||
./AAunlockLND.sh
|
./AAunlockLND.sh
|
||||||
echo "please wait ..."
|
echo "please wait ..."
|
||||||
|
|||||||
Reference in New Issue
Block a user