summaryrefslogtreecommitdiffstats
path: root/admin/Interface/RestaurarImagen
diff options
context:
space:
mode:
authoradv <adv@uma.es>2011-02-23 19:33:11 +0000
committeradv <adv@uma.es>2011-02-23 19:33:11 +0000
commitd9d17207d53b61d174c2b54f2695eb5a4e932acd (patch)
tree8e00b447baa91bd84db2278acb1d77591ae5bfc6 /admin/Interface/RestaurarImagen
parentbc55985ea2d013b828eac17042d3adb528ab0955 (diff)
version 1.0 - interfaz adm - ticket:304
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1485 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface/RestaurarImagen')
-rwxr-xr-xadmin/Interface/RestaurarImagen14
1 files changed, 10 insertions, 4 deletions
diff --git a/admin/Interface/RestaurarImagen b/admin/Interface/RestaurarImagen
index 48f1e46a..8556807a 100755
--- a/admin/Interface/RestaurarImagen
+++ b/admin/Interface/RestaurarImagen
@@ -3,10 +3,16 @@
#
# PARAMETROS RECIBIDOS DESDE EL CLIENTE:
# $1 disco
-# $2 par=Número de particion
-# $3 Nombre canónico de la imagen
-# $4 Dirección del repositorio
+# $2 par=N�mero de particion
+# $3 Nombre can�nico de la imagen
+# $4 Direcci�n del repositorio
#_______________________________________________________________________________________________________________________________
-ogRestoreImage REPO $3 $1 $2 UNICAST
+if [ "$engine" == "testing" ]
+then
+ echo $* >> $OGLOGFILE
+ restoreImage REPO $3 $1 $2 UNICAST &>> $OGLOGFILE || exit $?
+else
+ ogRestoreImage REPO $3 $1 $2 UNICAST
+fi