summaryrefslogtreecommitdiffstats
path: root/client/engine/PostConf.lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-06-18 10:12:03 +0000
committerramon <ramongomez@us.es>2012-06-18 10:12:03 +0000
commit7b9dedd5aa2af26ede958f8877db6982cc184634 (patch)
treef11f757c7e6e49aecdef115ff8a45572542e1605 /client/engine/PostConf.lib
parent5792125769e55caa24cb660c9d3ac7843bc8110f (diff)
Versión 1.0.4, #543: Evitar bloqueos indefinidos en varias funciones; nuevo formato de salida de función {{{ogGetFsSize}}}; evitar múltimples mensajes de error en script {{{configureOs}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3218 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/PostConf.lib')
-rwxr-xr-xclient/engine/PostConf.lib2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/engine/PostConf.lib b/client/engine/PostConf.lib
index 62ba5c9b..f7780aba 100755
--- a/client/engine/PostConf.lib
+++ b/client/engine/PostConf.lib
@@ -172,6 +172,7 @@ done
[ -n "$RCLOCAL" ] || ogRaiseError $OG_ERR_NOTFOUND "$1 $2 rc.local" || return $?
# Realizar la instalación en modo uso exclusivo.
ogLock $1 $2
+trap "ogUnlock $1 $2" 1 2 3 6 9
# Copiar cliente, generar fichero de configuración e incluir en el arranque.
cp -a $CLIENTFILE $MNTDIR/$SBINDIR
cat > $MNTDIR/$ETCDIR/ogAdmLnxClient.cfg << EOT
@@ -371,6 +372,7 @@ done
[ -n "$WINDIR " ] || ogRaiseError $OG_ERR_NOTFOUND "$1 $2 windows" || return $?
# Realizar la instalación en modo uso exclusivo.
ogLock $1 $2
+trap "ogUnlock $1 $2" 1 2 3 6 9
# Copiar cliente, generar fichero de configuración e incluir en el arranque.
cp -a $CLIENTFILE "$WINDIR"
ogInstallMiniSetup $1 $2 ogclient.cmd