From 42d268a42aadfe828e0795962a8b26958b042bef Mon Sep 17 00:00:00 2001 From: ramon Date: Thu, 21 Dec 2017 12:38:45 +0000 Subject: #730: Corregir errata al obtener bancos de memoria en inventario de hardware; crear fichero de comandos Windows si no existe al aƱadir el primero de ellos y subir el timeout de conexiones REST a 500 ms. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/branches/version1.1@5542 a21b9725-9963-47de-94b9-378ad31fedc9 --- client/engine/PostConf.lib | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/engine/PostConf.lib') diff --git a/client/engine/PostConf.lib b/client/engine/PostConf.lib index 22722889..3483c870 100755 --- a/client/engine/PostConf.lib +++ b/client/engine/PostConf.lib @@ -220,8 +220,9 @@ fi [ $# == 4 ] || return $(ogRaiseError $OG_ERR_FORMAT; echo $?) # Punto de montaje MOUNTPOINT="$(ogMount "$1" "$2")" || return $? -# Comprobar que existe el fichero de comandos. +# Crear fichero de comandos, si no existe. CMDFILE="$(ogGetPath "$MOUNTPOINT/windows/system32")/$3" +[ -n "$CMDFILE" ] || ogInstallMiniSetup "$1" "$2" "$3" [ -n "$CMDFILE" ] || ogRaiseError $OG_ERR_NOTFOUND "$MOUNTPOINT/windows/system32/$3" || return $? # Concatenamos el comando en el fichero de comandos -- cgit v1.2.3-18-g5258