From 914d834897ea6bbdf9f8486e737c820c87ca69d5 Mon Sep 17 00:00:00 2001 From: adv Date: Thu, 24 Feb 2011 21:19:31 +0000 Subject: branch version 1.0 git-svn-id: https://opengnsys.es/svn/branches/version1.0@1503 a21b9725-9963-47de-94b9-378ad31fedc9 --- admin/Interface/RestaurarImagen | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'admin/Interface/RestaurarImagen') diff --git a/admin/Interface/RestaurarImagen b/admin/Interface/RestaurarImagen index 8556807a..6e2ed2f6 100755 --- a/admin/Interface/RestaurarImagen +++ b/admin/Interface/RestaurarImagen @@ -8,11 +8,14 @@ # $4 Direcci�n del repositorio #_______________________________________________________________________________________________________________________________ -if [ "$engine" == "testing" ] +echo $* >> $OGLOGFILE +echo $* >> $OGLOGFILE +if [ -f createImage$ogengine ] then - echo $* >> $OGLOGFILE - restoreImage REPO $3 $1 $2 UNICAST &>> $OGLOGFILE || exit $? + restoreImage$ogengine REPO $3 $1 $2 UNICAST &>> $OGLOGFILE || exit $? else - ogRestoreImage REPO $3 $1 $2 UNICAST + restoreImage REPO $3 $1 $2 UNICAST &>> $OGLOGFILE || exit $? fi + + -- cgit v1.2.3-18-g5258