mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-09 20:32:52 +02:00
add debug wait
This commit is contained in:
@@ -136,6 +136,8 @@ do
|
|||||||
# INITIAL BLOCKCHAIN SYNC (SUBLOOP)
|
# INITIAL BLOCKCHAIN SYNC (SUBLOOP)
|
||||||
#####################################
|
#####################################
|
||||||
if [ "${setupPhase}" == "done" ] && [ "${state}" == "ready" ] && [ "${initialSync}" == "1" ]; then
|
if [ "${setupPhase}" == "done" ] && [ "${state}" == "ready" ] && [ "${initialSync}" == "1" ]; then
|
||||||
|
echo "debug wait eventBlockchainSync.sh ..."
|
||||||
|
sleep 3
|
||||||
/home/admin/setup.scripts/eventBlockchainSync.sh ssh loop
|
/home/admin/setup.scripts/eventBlockchainSync.sh ssh loop
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
@@ -195,7 +197,7 @@ do
|
|||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
# every other state just push as event to SSH frontend
|
# every other state just push as event to SSH frontend
|
||||||
echo "debug wait ..."
|
echo "debug wait eventInfoWait.sh ..."
|
||||||
sleep 3
|
sleep 3
|
||||||
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}"
|
/home/admin/setup.scripts/eventInfoWait.sh "${state}" "${message}"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user