summaryrefslogtreecommitdiffstats
path: root/admin/Interface/CrearImagenBasica
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Interface/CrearImagenBasica')
-rwxr-xr-xadmin/Interface/CrearImagenBasica9
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 "$@"