diff options
author | adv <adv@uma.es> | 2011-02-23 19:33:11 +0000 |
---|---|---|
committer | adv <adv@uma.es> | 2011-02-23 19:33:11 +0000 |
commit | d9d17207d53b61d174c2b54f2695eb5a4e932acd (patch) | |
tree | 8e00b447baa91bd84db2278acb1d77591ae5bfc6 /admin/Interface/RestaurarImagen | |
parent | bc55985ea2d013b828eac17042d3adb528ab0955 (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-x | admin/Interface/RestaurarImagen | 14 |
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 |