diff options
author | ramon <ramongomez@us.es> | 2014-04-25 08:38:01 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-04-25 08:38:01 +0000 |
commit | 97f6020f68eb732c73f9be1472c5138fb26073a6 (patch) | |
tree | c188de94c75902f68e59972f394e153cdf9eb497 /server/bin/setclientmode | |
parent | 7629e916e165e27a40fd1b9b1e1e3bfca9c80f5e (diff) |
#585: Compatibilidad de opciĆ³n de resoluciĆ³n de pantalla en script {{{setclientmode}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4251 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/setclientmode')
-rwxr-xr-x | server/bin/setclientmode | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/bin/setclientmode b/server/bin/setclientmode index 4eda84dc..adbde585 100755 --- a/server/bin/setclientmode +++ b/server/bin/setclientmode @@ -85,7 +85,11 @@ for MAC in $ETHERNET; do ' winboot=', IFNULL (perfileshard.winboot, 'reboot'), IF (aulas.dns IS NULL, '', CONCAT (' ogdns=', aulas.dns)), IF (aulas.proxy IS NULL, '', CONCAT (' ogproxy=', aulas.proxy)), - IF (menus.resolucion IS NULL, '', CONCAT (' video=', menus.resolucion)) + CASE + WHEN menus.resolucion IS NULL THEN '' + WHEN menus.resolucion < 999 THEN CONCAT (' vga=', menus.resolucion) + ELSE menus.resolucion + END FROM ordenadores JOIN aulas USING (idaula) JOIN repositorios USING (idrepositorio) |