diff options
author | ramon <ramongomez@us.es> | 2012-09-26 12:00:45 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-09-26 12:00:45 +0000 |
commit | 7c52c303cde88b6b45a10ffda10af9dc8ceeb899 (patch) | |
tree | 6d252268aad9de98d2242a67861983279383017e /client/engine/PostConf.lib | |
parent | 47e0819e98f9da6ef491e70e87705fefd9d03e7a (diff) |
#553: Borrar y crear la clave de registro en función {{{ogInstallFirstBoot}}} para evitar errores con {{{chntpw}}}; función {{{ogUnmountAll}}} no muestra errores para sistemas de ficheros no montados.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3290 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/PostConf.lib')
-rwxr-xr-x | client/engine/PostConf.lib | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/engine/PostConf.lib b/client/engine/PostConf.lib index b8d4b8df..647423a3 100755 --- a/client/engine/PostConf.lib +++ b/client/engine/PostConf.lib @@ -253,9 +253,12 @@ REG ADD HKLM\System\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f REG ADD HKLM\System\Setup /v CmdLine /t REG_SZ /d "" /f EOF -# Creamos las claves de registro necesarias para que se haga la ejecucion del .cmd al aranque +# Crear los valores de registro necesarios para que se haga la ejecución del .cmd al aranque. ogSetRegistryValue "$MNTDIR" SYSTEM "\Setup\SystemSetupInProgress" 1 ogSetRegistryValue "$MNTDIR" SYSTEM "\Setup\SetupType" 4 +# Borrar y crear el valor para compatibilidad con algunos sistmeas. +ogDeleteRegistryValue "$MNTDIR" SYSTEM "\Setup\CmdLine" +ogAddRegistryValue "$MNTDIR" SYSTEM "\Setup\CmdLine" ogSetRegistryValue "$MNTDIR" SYSTEM "\Setup\CmdLine" "cmd.exe /c $(basename $CMDFILE)" } |