mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
fix broken pipe
This commit is contained in:
@@ -155,8 +155,6 @@ waitUntilChainNetworkIsReady()
|
|||||||
fi
|
fi
|
||||||
lndSynced=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} --network=${chain}net getinfo 2>/dev/null | jq -r '.synced_to_chain' | grep -c true)
|
lndSynced=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} --network=${chain}net getinfo 2>/dev/null | jq -r '.synced_to_chain' | grep -c true)
|
||||||
if [ ${lndSynced} -eq 0 ]; then
|
if [ ${lndSynced} -eq 0 ]; then
|
||||||
echo "test"
|
|
||||||
read key
|
|
||||||
./80scanLND.sh
|
./80scanLND.sh
|
||||||
else
|
else
|
||||||
# everything is ready - return from loop
|
# everything is ready - return from loop
|
||||||
@@ -199,10 +197,16 @@ if [ ${setupStep} -eq 0 ]; then
|
|||||||
|
|
||||||
elif [ ${setupStep} -lt 100 ]; then
|
elif [ ${setupStep} -lt 100 ]; then
|
||||||
|
|
||||||
|
# see function above
|
||||||
|
if [ ${setupStep} -lt 80 ]; then
|
||||||
|
70initLND.sh
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# see function above
|
# see function above
|
||||||
if [ ${setupStep} -gt 59 ]; then
|
if [ ${setupStep} -gt 59 ]; then
|
||||||
waitUntilChainNetworkIsReady
|
waitUntilChainNetworkIsReady
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# continue setup
|
# continue setup
|
||||||
BACKTITLE="${hostname} / ${network} / ${chain}"
|
BACKTITLE="${hostname} / ${network} / ${chain}"
|
||||||
@@ -211,9 +215,6 @@ elif [ ${setupStep} -lt 100 ]; then
|
|||||||
OPTIONS+=(CONTINUE "Continue Setup of your RaspiBlitz")
|
OPTIONS+=(CONTINUE "Continue Setup of your RaspiBlitz")
|
||||||
HEIGHT=10
|
HEIGHT=10
|
||||||
|
|
||||||
echo "CONTINUE"
|
|
||||||
reaf key
|
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
# see function above
|
# see function above
|
||||||
|
Reference in New Issue
Block a user