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/CrearImagen | |
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/CrearImagen')
-rwxr-xr-x | admin/Interface/CrearImagen | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/admin/Interface/CrearImagen b/admin/Interface/CrearImagen index 62f0de9c..ac20c339 100755 --- a/admin/Interface/CrearImagen +++ b/admin/Interface/CrearImagen @@ -4,9 +4,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 #_______________________________________________________________________________________________________________________________ -createImage "$1" "$2" "REPO" "$3" +if [ "$engine" == "testing" ] +then + echo $* >> $OGLOGFILE + createImage "$1" "$2" "REPO" "$3" &>> $OGLOGFILE || exit $? +else + createImage "$1" "$2" "REPO" "$3" +fi + |