summaryrefslogtreecommitdiffstats
path: root/admin/Interface/RestaurarImagen
diff options
context:
space:
mode:
authoradv <adv@uma.es>2011-02-24 21:19:31 +0000
committeradv <adv@uma.es>2011-02-24 21:19:31 +0000
commit914d834897ea6bbdf9f8486e737c820c87ca69d5 (patch)
tree8719f4f0e18996d022b8b77e3d8be37f6e508335 /admin/Interface/RestaurarImagen
parent6da16475a3fa860c687f11b5ab1bd297cc47fcc6 (diff)
branch version 1.0
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1503 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface/RestaurarImagen')
-rwxr-xr-xadmin/Interface/RestaurarImagen11
1 files changed, 7 insertions, 4 deletions
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
+
+