summaryrefslogtreecommitdiffstats
path: root/server/bin/setclientmode
diff options
context:
space:
mode:
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)