source: admin/Interface/InventarioSoftware

qndtest
Last change on this file was 0483b14, checked in by ramon <ramongomez@…>, 10 years ago

#640: Scripts de interfaz adaptados al nuevo formato de la función ogEcho.

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

  • Property mode set to 100755
File size: 542 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
12ogEcho log session "$MSG_INTERFACE_START $0 $*"
13
14file=$(listSoftwareInfo $1 $2)
15cp $file $3
16
17TIME=$[SECONDS-TIME1]
18ogEcho log session "   [ ]      $MSG_SCRIPTS_TIME_PARTIAL : $[TIME/60]m $[TIME%60]s"
19
Note: See TracBrowser for help on using the repository browser.