summaryrefslogtreecommitdiffstats
path: root/client/engine/PostConf.lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-12-21 12:38:45 +0000
committerramon <ramongomez@us.es>2017-12-21 12:38:45 +0000
commit42d268a42aadfe828e0795962a8b26958b042bef (patch)
tree679e6bd9d58fa0338d326106044e571bec6f9e65 /client/engine/PostConf.lib
parent7d54b0b61d2521732968622981c7cb05efb7a64f (diff)
#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.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5542 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/PostConf.lib')
-rwxr-xr-xclient/engine/PostConf.lib3
1 files changed, 2 insertions, 1 deletions
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