mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-13 03:30:49 +02:00
#2639 check ln synced before main menu
This commit is contained in:
parent
43473db434
commit
ccab24e8b6
@ -97,6 +97,7 @@ do
|
||||
state \
|
||||
setupPhase \
|
||||
btc_default_synced \
|
||||
ln_default_sync_chain \
|
||||
ln_default_locked \
|
||||
message \
|
||||
network \
|
||||
@ -181,13 +182,15 @@ do
|
||||
fi
|
||||
|
||||
#####################################
|
||||
# MAKE SURE BLOCKCHAIN IS SYNC
|
||||
# MAKE SURE BLOCKCHAIN/LN IS SYNC
|
||||
#####################################
|
||||
if [ "${setupPhase}" == "done" ] && [ "${state}" == "ready" ] && [ "${btc_default_synced}" != "1" ]; then
|
||||
if [ "${setupPhase}" == "done" ] && [ "${state}" == "ready" ]; then
|
||||
if [ "${btc_default_synced}" != "1" ] || [ "${ln_default_sync_chain}" != "1" ]; then
|
||||
/home/admin/setup.scripts/eventBlockchainSync.sh ssh
|
||||
sleep 3
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
|
||||
#####################################
|
||||
# MAIN MENU or BLOCKCHAIN SYNC
|
||||
|
Loading…
Reference in New Issue
Block a user