source: admin/Interface/RestaurarImagen @ bcfd3ad

opengnsys-1.0
Last change on this file since bcfd3ad was 914d834, checked in by adv <adv@…>, 14 years ago

branch version 1.0

git-svn-id: https://opengnsys.es/svn/branches/version1.0@1503 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 651 bytes
RevLine 
[3ec149c]1#!/bin/bash
2#_______________________________________________________________________________________________________________________________
3#
4# PARAMETROS RECIBIDOS DESDE EL CLIENTE:
5# $1 disco
[d9d1720]6# $2 par=N�mero de particion
7# $3 Nombre can�nico de la imagen
8# $4 Direcci�n del repositorio
[3ec149c]9#_______________________________________________________________________________________________________________________________
10
[914d834]11echo $* >>  $OGLOGFILE
12echo $* >>  $OGLOGFILE
13if [ -f createImage$ogengine ]
[d9d1720]14then
[914d834]15        restoreImage$ogengine REPO $3 $1 $2 UNICAST &>> $OGLOGFILE || exit $?
[d9d1720]16else
[914d834]17        restoreImage REPO $3 $1 $2 UNICAST &>> $OGLOGFILE || exit $?
[d9d1720]18fi
[d356c72]19
[914d834]20
21
Note: See TracBrowser for help on using the repository browser.