From 9fa7ce0690fdb9cfc77357d4782d46a5160efc8e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 12 Jun 2019 14:23:05 +0200 Subject: [vmchooser2] Show screen saver disable checkbox if applicable --- core/modules/vmchooser2/data/opt/openslx/bin/vmchooser | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/modules/vmchooser2') 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 -- cgit v1.2.3-55-g7522