Added sleep timers.

This commit is contained in:
Raphaël Numbus
2026-05-15 22:24:47 +02:00
parent 4ca5ae5c8f
commit 27433d6258
+4
View File
@@ -678,6 +678,7 @@ if [[ "${DEPLOYMENT_STRATEGY}" == "I don't have a configuration" ]]; then
LIVE_TARGET_IP="$(yq -r '.live_target_ip' ${LIVE_DATA_FILE})"
LIVE_TARGET_PASSWORD="$(yq -r '.live_target_password' ${LIVE_DATA_FILE})"
until [[ -e ../web/signals/configuration_ready ]]; do
sleep 5
done
until [[ -e ../web/signals/deployment_ready ]]; do
done
@@ -686,10 +687,13 @@ else
launch_gui
hierarchy_preparation
until [[ -e ../web/signals/hw_detection_ready ]]; do
sleep 5
done
until [[ -e ../web/signals/hw_detection_ready ]]; do
sleep 5
done
until [[ -e ../web/signals/hw_detection_ready ]]; do
sleep 5
done
fi
# --- MAIN LOGIC ---<