summaryrefslogtreecommitdiffstats
path: root/admin/Interface/InventarioSoftware
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Interface/InventarioSoftware')
-rwxr-xr-xadmin/Interface/InventarioSoftware18
1 files changed, 2 insertions, 16 deletions
diff --git a/admin/Interface/InventarioSoftware b/admin/Interface/InventarioSoftware
index fa96565d..fd481580 100755
--- a/admin/Interface/InventarioSoftware
+++ b/admin/Interface/InventarioSoftware
@@ -1,19 +1,5 @@
#!/bin/bash
+# Script de interfaz para devolver el inventario de software de un sistema operativo instalado.
-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
-ogEcho log session "$MSG_INTERFACE_START $0 $*"
-
-file=$(listSoftwareInfo $1 $2)
-cp $file $3
-
-TIME=$[SECONDS-TIME1]
-ogEcho log session " [ ] $MSG_SCRIPTS_TIME_PARTIAL : $[TIME/60]m $[TIME%60]s"
+listSoftwareInfo $1 $2