Added sleep timers.
This commit is contained in:
@@ -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 ---<
|
||||
Reference in New Issue
Block a user