summaryrefslogtreecommitdiffstats
path: root/server/bin/setclientmode
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-04-25 09:58:15 +0000
committerramon <ramongomez@us.es>2014-04-25 09:58:15 +0000
commitc6d4ae696ee68b9b9484c4b2a20871af7d35b893 (patch)
treea700fbfbf30be0e27d167626f4008c4b7f6230bd /server/bin/setclientmode
parent332bbb13d893fb3c9b67ec41027d2493e5c41fd6 (diff)
#585: Corregir errata en script {{{setclientmode}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4253 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/setclientmode')
-rwxr-xr-xserver/bin/setclientmode3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/bin/setclientmode b/server/bin/setclientmode
index adbde585..84ef0f95 100755
--- a/server/bin/setclientmode
+++ b/server/bin/setclientmode
@@ -87,7 +87,8 @@ for MAC in $ETHERNET; do
IF (aulas.proxy IS NULL, '', CONCAT (' ogproxy=', aulas.proxy)),
CASE
WHEN menus.resolucion IS NULL THEN ''
- WHEN menus.resolucion < 999 THEN CONCAT (' vga=', menus.resolucion)
+ WHEN menus.resolucion <= '999' THEN CONCAT (' vga=', menus.resolucion)
+ WHEN menus.resolucion LIKE '%:%' THEN CONCAT (' video=', menus.resolucion)
ELSE menus.resolucion
END
FROM ordenadores