summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2013-12-20 13:06:55 +0000
committeririna <irinagomez@us.es>2013-12-20 13:06:55 +0000
commitc7df6bff29174e3529177ecab4c138c5924e1146 (patch)
tree91d25c11a875b95863b0c7659f1f4324a05693de
parent654d744801ab49afa6b1f2ec91268530d01c5398 (diff)
565 partclone2rsync: script de conversión de imagenes del partclone a laas sincronizadas. interfaz RestaurarSoftIncremental
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4113 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-xadmin/Interface/RestaurarSoftIncremental2
-rwxr-xr-xclient/shared/scripts/restoreDiffImage3
2 files changed, 3 insertions, 2 deletions
diff --git a/admin/Interface/RestaurarSoftIncremental b/admin/Interface/RestaurarSoftIncremental
index 353fdf9b..b8d4af5d 100755
--- a/admin/Interface/RestaurarSoftIncremental
+++ b/admin/Interface/RestaurarSoftIncremental
@@ -68,7 +68,7 @@
PROTO=${6%_*}
OPT=${6#*_}
- restoreDiffImage $DEST "$5" $1 $2 $PROTO $OPT
+ restoreDiffImage $DEST "$3" "$5" $1 $2 $PROTO $OPT
fi
diff --git a/client/shared/scripts/restoreDiffImage b/client/shared/scripts/restoreDiffImage
index 06a1f0e5..6793616f 100755
--- a/client/shared/scripts/restoreDiffImage
+++ b/client/shared/scripts/restoreDiffImage
@@ -125,7 +125,8 @@ echo "[70] $MSG_HELP_ogRestoreInfoImage" |tee -a $OGLOGFILE $OGLOGSESSION
ogRestoreInfoImage "$4" "$5" &>$OGLOGCOMMAND
# Llamar al script de post-configuración del sistema operativo.
-echo "[90] $MSG_HELP_configureOs."
+echo "[90] $MSG_HELP_configureOs." | tee -a $OGLOGFILE $OGLOGSESSION
+
# el || echo es para evitar que se maneje el error.
configureOs $4 $5 &>>$OGLOGCOMMAND || echo "$?" &>>$OGLOGCOMMAND