diff options
author | irina <irinagomez@us.es> | 2013-11-25 13:41:59 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2013-11-25 13:41:59 +0000 |
commit | ef938d25df3df263b1ce928f5db71684f0f4bd6b (patch) | |
tree | bdc48e896ca2623c2fc8d4a37bb93044041d3238 /admin/Interface/CrearImagenBasica | |
parent | 8d3a9e0b43b14ce4674c347126b9523798d39ee4 (diff) |
#565 Adaptación script sincronizadas version 2 a la consola de administración
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4091 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface/CrearImagenBasica')
-rwxr-xr-x | admin/Interface/CrearImagenBasica | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/Interface/CrearImagenBasica b/admin/Interface/CrearImagenBasica index 2e201115..9fd487f4 100755 --- a/admin/Interface/CrearImagenBasica +++ b/admin/Interface/CrearImagenBasica @@ -31,6 +31,7 @@ # Control parámetros #___________________________________________________________________ + PROG="$(basename $0)" if [ $# -lt 7 ]; then usage=" ndisco nparticion nombre_imagen_basica ip_repositorio" @@ -39,6 +40,14 @@ exit $? fi + #Load engine configurator from engine.cfg file. + #Carga el configurador del engine desde el fichero engine.cfg + [ -z $OGENGINECONFIGURATE ] && source /opt/opengnsys/etc/engine.cfg + + # Clear temporary file used as log track by httpdlog + # Limpia los ficheros temporales usados como log de seguimiento para httpdlog + echo " " > $OGLOGSESSION; echo " " > $OGLOGCOMMAND; echo " " > ${OGLOGCOMMAND}.tmp + if [ $7 -eq 1 ]; then #sincronizacion1 ogCrearImagenBasica "$@" |