From 60b8ba1c1af7e24d9d2f62c9c06df2780f32ccb5 Mon Sep 17 00:00:00 2001 From: Vinicius Ruoso <vkr07@c3sl.ufpr.br> Date: Wed, 26 May 2010 18:50:59 -0300 Subject: [PATCH] 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: Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br> Acked-by: Danilo K. S. Yorinori <danilok@c3sl.ufpr.br> Signed-off-by: Vinicius Ruoso <vkr07@c3sl.ufpr.br> --- bootstraps/bootstrap-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstraps/bootstrap-update b/bootstraps/bootstrap-update index cbd0cff..e5de335 100644 --- a/bootstraps/bootstrap-update +++ b/bootstraps/bootstrap-update @@ -140,6 +140,7 @@ rm -f "${SEED_MEC_HOME}/SEED2/updating" &>/dev/null rm -rf "${SEED_MEC_HOME}/update" &>/dev/null # 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 -- GitLab