Skip to content
Snippets Groups Projects
Commit 60b8ba1c authored by Vinicius Ruoso's avatar Vinicius Ruoso
Browse files

Added call to integrity-checker.sh before run the agent


If the update process fails on some transfer, the agent can't be called.
We are adding the call to integrity-checker.sh to ensure that the system is
properly installed before running agent again.

Acked-by: default avatarRicardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
Acked-by: default avatarDanilo K. S. Yorinori <danilok@c3sl.ufpr.br>
Signed-off-by: default avatarVinicius Ruoso <vkr07@c3sl.ufpr.br>
parent 8ad22026
No related branches found
No related tags found
No related merge requests found
...@@ -140,6 +140,7 @@ rm -f "${SEED_MEC_HOME}/SEED2/updating" &>/dev/null ...@@ -140,6 +140,7 @@ rm -f "${SEED_MEC_HOME}/SEED2/updating" &>/dev/null
rm -rf "${SEED_MEC_HOME}/update" &>/dev/null rm -rf "${SEED_MEC_HOME}/update" &>/dev/null
# Call the agent # Call the agent
bash "${SEED_MEC_HOME}/SEED2/agent.sh" "${SEED_MEC_HOME}/SEED2/integrity-checker.sh" && \
"${SEED_MEC_HOME}/SEED2/agent.sh"
exit 0 exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment