diff options
author | irina <irinagomez@us.es> | 2014-02-11 13:42:14 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2014-02-11 13:42:14 +0000 |
commit | 7f8d5d5a9e1559b2ff3d0db0a75895fbe26983da (patch) | |
tree | ffd9bca7b963b2aecd1711aa117ff8b0eccdfb19 /client/shared/scripts/deployImage | |
parent | ac0edb0d77af1da8011f0aa5d3e1cf39e6e6ee0e (diff) |
#636 log en tiempo real: mejora para unicast y mcast-direct.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4145 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/deployImage')
-rwxr-xr-x | client/shared/scripts/deployImage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/shared/scripts/deployImage b/client/shared/scripts/deployImage index e9f7db77..5473c674 100755 --- a/client/shared/scripts/deployImage +++ b/client/shared/scripts/deployImage @@ -61,7 +61,7 @@ PROTOOPT="$6" # Clear temporary file used as log track by httpdlog # Limpia los ficheros temporales usados como log de seguimiento para httpdlog -echo " " > $OGLOGSESSION; echo " " > $OGLOGCOMMAND; echo " " > ${OGLOGCOMMAND}.tmp +echo -n "" > $OGLOGSESSION; echo " " > $OGLOGCOMMAND # Registro de inicio de ejecuciĆ³n echo "[1] $MSG_SCRIPTS_START $0 $*" | tee -a $OGLOGSESSION $OGLOGFILE @@ -144,7 +144,7 @@ TIME3=$SECONDS case "$NEXTOPERATION" in CACHE) echo "[55] $MSG_HELP_ogRestoreImage : restoreImage CACHE $IMGNAME $DISK $PART UNICAST" | tee -a $OGLOGSESSION $OGLOGFILE - restoreImage CACHE "$IMGNAME" "$DISK" "$PART" | tee -a $OGLOGCOMMAND + restoreImage CACHE "$IMGNAME" "$DISK" "$PART" RETVAL=${PIPESTATUS[0]} RESUMERESTOREIMAGE=$(grep "Total Time:" $OGLOGCOMMAND) ;; |