source: admin/Database/ogAdmBD-1.1.0pre-postinst.sql @ 64f4ada

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 64f4ada was 1a2fa9d8, checked in by ramon <ramongomez@…>, 10 years ago

#673: Actualizar código incluido en OepnGnSys? 1.0.6 sobre la rama version1.1 para desarrollar la nueva versión.

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

  • Property mode set to 100644
File size: 1.4 KB
Line 
1### Procedimiento para actualización de la base de datos.
2# Postinstalación de OpenGnSys 1.1.0
3#use ogAdmBD
4
5# Nota: retocar el fichero para sustituir KERNELVERSION por la versión del
6#       Kernel del cliente ogLive con el formato V.RR (V=versión, RR=revisión).
7
8# Cambiar parámetro de resolución de pantalla para Kernel anteriores a 3.7.
9UPDATE menus
10        SET resolucion = CASE resolucion
11                                WHEN 'uvesafb:1152x864-16' THEN '355'
12                                WHEN 'uvesafb:800x600-16' THEN '788'
13                                WHEN 'uvesafb:800x600-24' THEN '789'
14                                WHEN 'uvesafb:1024x768-16' THEN '791'
15                                WHEN 'uvesafb:1024x768-24' THEN '792'
16                                WHEN 'uvesafb:1280x1024-16' THEN '794'
17                                WHEN 'uvesafb:1280x1024-24' THEN '795'
18                                WHEN 'uvesafb:1600x1200-16' THEN '798'
19                                WHEN 'uvesafb:1600x1200-24' THEN '799'
20                                WHEN NULL or '0' THEN '788'
21                                ELSE resolucion
22                         END
23                         WHERE KERNELVERSION < 3.07;
24
25# Cambiar parámetro de resolución de pantalla para Kernel 3.7 o superior.
26UPDATE menus
27        SET resolucion = CASE resolucion
28                                WHEN '355' THEN 'uvesafb:1152x864-16'
29                                WHEN '788' THEN 'uvesafb:800x600-16'
30                                WHEN '789' THEN 'uvesafb:800x600-24'
31                                WHEN '791' THEN 'uvesafb:1024x768-16'
32                                WHEN '792' THEN 'uvesafb:1024x768-24'
33                                WHEN '794' THEN 'uvesafb:1280x1024-16'
34                                WHEN '795' THEN 'uvesafb:1280x1024-24'
35                                WHEN '798' THEN 'uvesafb:1600x1200-16'
36                                WHEN '799' THEN 'uvesafb:1600x1200-24'
37                                WHEN NULL or '0' THEN 'uvesafb:800x600-16'
38                                ELSE resolucion
39                         END
40                         WHERE KERNELVERSION >= 3.07;
41
Note: See TracBrowser for help on using the repository browser.