From 9ed426973fa471aa6207444780f7612e6dfa5784 Mon Sep 17 00:00:00 2001
From: Erik Alexandre Pucci <eap08@c3sl.ufpr.br>
Date: Sun, 28 Aug 2011 12:07:54 -0300
Subject: [PATCH] bootstrap-update: Removed integrity-checker.sh call to avoid
 infinite loop

Removed to avoid a loop error caused by a bug either in integrity-checker.sh
or in this script, and because there is already a MD5 verification of the
package.

The bug ocurred while running integrity-checker.sh after an update, when the
inep or the proxy files were corrupted, causing the script to keep
downloading and installing the update package.

Signed-off-by: Erik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: Adriano da Luz <al08@c3sl.ufpr.br>
Acked-by: Josiney de Souza <josineys@c3sl.ufpr.br>
---
 bootstraps/bootstrap-update | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bootstraps/bootstrap-update b/bootstraps/bootstrap-update
index c2c4a59..025af43 100644
--- a/bootstraps/bootstrap-update
+++ b/bootstraps/bootstrap-update
@@ -141,7 +141,6 @@ rm -f "${SEED_MEC_HOME}/SEED2/updating" &> /dev/null
 rm -rf "${SEED_MEC_HOME}/update" &> /dev/null
 
 # Call the agent
-"${SEED_MEC_HOME}/SEED2/integrity-checker.sh" && \
-    "${SEED_MEC_HOME}/SEED2/agent.sh"
+"${SEED_MEC_HOME}/SEED2/agent.sh"
 
 exit 0
-- 
GitLab