diff options
author | ramon <ramongomez@us.es> | 2016-08-26 11:02:34 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-08-26 11:02:34 +0000 |
commit | 489ff9e87eb4a165d2962f69f6cb8369329f6813 (patch) | |
tree | b92c5ad98e9b23c489adf37a449777e20f5a4cbd /admin/Database | |
parent | 36919af0f19e74901c2916346171b7af98ebd4f4 (diff) |
#724: Formulario de propiedades de menú soporta resolución detectada por defecto para driver uvesafb y resoluciones de 32 bits.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5000 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Database')
-rw-r--r-- | admin/Database/ogAdmBD-1.1.0pre-postinst.sql | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/admin/Database/ogAdmBD-1.1.0pre-postinst.sql b/admin/Database/ogAdmBD-1.1.0pre-postinst.sql index 1ce377db..95ab6470 100644 --- a/admin/Database/ogAdmBD-1.1.0pre-postinst.sql +++ b/admin/Database/ogAdmBD-1.1.0pre-postinst.sql @@ -5,24 +5,28 @@ # Nota: retocar el fichero para sustituir KERNELVERSION por la versión del # Kernel del cliente ogLive con el formato V.RR (V=versión, RR=revisión). -# Cambiar parámetro de resolución de pantalla para Kernel anteriores a 3.7. +# Cambiar parámetro de resolución de pantalla para Kernel anteriores a 3.7 o posteriores a 4.3. UPDATE menus SET resolucion = CASE resolucion WHEN 'uvesafb:1152x864-16' THEN '355' WHEN 'uvesafb:800x600-16' THEN '788' WHEN 'uvesafb:800x600-24' THEN '789' + WHEN 'uvesafb:800x600-32' THEN '814' WHEN 'uvesafb:1024x768-16' THEN '791' WHEN 'uvesafb:1024x768-24' THEN '792' + WHEN 'uvesafb:1024x768-32' THEN '824' WHEN 'uvesafb:1280x1024-16' THEN '794' WHEN 'uvesafb:1280x1024-24' THEN '795' + WHEN 'uvesafb:1280x1024-32' THEN '829' WHEN 'uvesafb:1600x1200-16' THEN '798' WHEN 'uvesafb:1600x1200-24' THEN '799' + WHEN 'uvesafb:1600x1200-32' THEN '834' WHEN NULL or '0' THEN '788' ELSE resolucion END - WHERE KERNELVERSION < 3.07; + WHERE KERNELVERSION < 3.07 OR KERNELVERSION >= 4.04; -# Cambiar parámetro de resolución de pantalla para Kernel 3.7 o superior. +# Cambiar parámetro de resolución de pantalla para Kernel entre 3.7 y 4.3. UPDATE menus SET resolucion = CASE resolucion WHEN '355' THEN 'uvesafb:1152x864-16' @@ -34,8 +38,12 @@ UPDATE menus WHEN '795' THEN 'uvesafb:1280x1024-24' WHEN '798' THEN 'uvesafb:1600x1200-16' WHEN '799' THEN 'uvesafb:1600x1200-24' + WHEN '814' THEN 'uvesafb:800x600-32' + WHEN '824' THEN 'uvesafb:1024x768-32' + WHEN '829' THEN 'uvesafb:1280x1024-32' + WHEN '834' THEN 'uvesafb:1600x1200-32' WHEN NULL or '0' THEN 'uvesafb:800x600-16' ELSE resolucion END - WHERE KERNELVERSION >= 3.07; + WHERE KERNELVERSION >= 3.07 OR KERNELVERSION < 4.04;; |