diff options
Diffstat (limited to 'admin/Interface')
-rwxr-xr-x | admin/Interface/InventarioSoftware | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/admin/Interface/InventarioSoftware b/admin/Interface/InventarioSoftware index fc0ed8d3..715f061c 100755 --- a/admin/Interface/InventarioSoftware +++ b/admin/Interface/InventarioSoftware @@ -1,3 +1,18 @@ #!/bin/bash + +TIME1=$SECONDS + +#Carga el configurador del engine desde el fichero engine.cfg +[ -z $OGENGINECONFIGURATE ] && source /opt/opengnsys/etc/engine.cfg + +# Limpia los ficheros temporales usados como log de seguimiento para httpdlog +echo -n " " | tee $OGLOGSESSION $OGLOGCOMMAND ${OGLOGCOMMAND}.tmp + +# Registro de inicio de ejecuciĆ³n +echo "$MSG_INTERFACE_START $0 $*" | tee -a $OGLOGSESSION $OGLOGFILE + file=$(listSoftwareInfo $1 $2) cp $file $3 + +TIME=$[SECONDS-TIME1] +echo " [ ] $MSG_SCRIPTS_TIME_PARTIAL : $[TIME/60]m $[TIME%60]s" | tee -a $OGLOGSESSION $OGLOGFILE |