source: admin/Interface/InventarioSoftware @ 5633342

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 5633342 was d36e8a6, checked in by irina <irinagomez@…>, 12 years ago

interfaz InventarioSoftware?: se muestra mensaje informativo en el log en tiempo real

git-svn-id: https://opengnsys.es/svn/branches/version1.0@4043 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 581 bytes
Line 
1#!/bin/bash
2
3TIME1=$SECONDS
4
5#Carga el configurador del engine desde el fichero engine.cfg
6[ -z $OGENGINECONFIGURATE ] && source /opt/opengnsys/etc/engine.cfg
7
8# Limpia los ficheros temporales usados como log de seguimiento para httpdlog
9echo -n " " | tee  $OGLOGSESSION $OGLOGCOMMAND ${OGLOGCOMMAND}.tmp
10
11# Registro de inicio de ejecución
12echo "$MSG_INTERFACE_START $0 $*" | tee -a $OGLOGSESSION $OGLOGFILE
13
14file=$(listSoftwareInfo $1 $2)
15cp $file $3
16
17TIME=$[SECONDS-TIME1]
18echo "   [ ]      $MSG_SCRIPTS_TIME_PARTIAL : $[TIME/60]m $[TIME%60]s" | tee -a $OGLOGSESSION $OGLOGFILE
Note: See TracBrowser for help on using the repository browser.