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
Line 
1#!/bin/bash
2#_______________________________________________________________________________________________________________________________
3#
4# PARAMETROS RECIBIDOS DESDE EL CLIENTE:
5# $1 disco
6# $2 par=N�mero de particion
7# $3 Nombre can�nico de la imagen
8# $4 Direcci�n del repositorio
9#_______________________________________________________________________________________________________________________________
10
11echo $* >>  $OGLOGFILE
12echo $* >>  $OGLOGFILE
13if [ -f createImage$ogengine ]
14then
15        restoreImage$ogengine REPO $3 $1 $2 UNICAST &>> $OGLOGFILE || exit $?
16else
17        restoreImage REPO $3 $1 $2 UNICAST &>> $OGLOGFILE || exit $?
18fi
19
20
21
Note: See TracBrowser for help on using the repository browser.