summaryrefslogtreecommitdiffstats
path: root/server/bin/setclientmode
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2014-04-24 12:38:13 +0000
committerramon <ramongomez@us.es>2014-04-24 12:38:13 +0000
commit7629e916e165e27a40fd1b9b1e1e3bfca9c80f5e (patch)
tree208ac012e1f5e39cf02981b08ff3a693f9046956 /server/bin/setclientmode
parent7894c0a411a7c16f366f1683a0a1b82e510961be (diff)
#585: Incluir opciones para servidor DNS y proxy en el script {{{setclientmode}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4250 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/setclientmode')
-rwxr-xr-xserver/bin/setclientmode2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/bin/setclientmode b/server/bin/setclientmode
index e0a972f9..4eda84dc 100755
--- a/server/bin/setclientmode
+++ b/server/bin/setclientmode
@@ -83,6 +83,8 @@ for MAC in $ETHERNET; do
' oglog=', (SELECT (@serverip:=ipserveradm) FROM entornos LIMIT 1),
' ogshare=', @serverip,
' 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))
FROM ordenadores
JOIN aulas USING (idaula)