summaryrefslogtreecommitdiffstats
path: root/core/modules/vmchooser2
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/vmchooser2')
-rwxr-xr-xcore/modules/vmchooser2/data/opt/openslx/bin/vmchooser4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser b/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser
index 08da8bff..f9b4ad3a 100755
--- a/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser
+++ b/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser
@@ -77,6 +77,10 @@ if [ -n "$SLX_LOCATIONS" ]; then
EXTRA="$EXTRA --locations $SLX_LOCATIONS"
fi
+if [ -n "$SLX_SCREEN_SAVER_TIMEOUT" ]; then
+ EXTRA="$EXTRA --allow-screensaver-disable"
+fi
+
# No quotes around $EXTRA!
exec vmchooser.real "$@" --url "$URL" --fullscreen --tab "$TAB" --start-uuid "$SLX_EXAM_START" $EXTRA