diff options
author | Simon Rettberg | 2019-06-12 14:23:05 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-06-12 14:23:05 +0200 |
commit | 9fa7ce0690fdb9cfc77357d4782d46a5160efc8e (patch) | |
tree | 13b27b8ba9d0db74e9ad93b7af991244614c15d1 /core/modules | |
parent | swallow errors during distcc detection (diff) | |
download | mltk-9fa7ce0690fdb9cfc77357d4782d46a5160efc8e.tar.gz mltk-9fa7ce0690fdb9cfc77357d4782d46a5160efc8e.tar.xz mltk-9fa7ce0690fdb9cfc77357d4782d46a5160efc8e.zip |
[vmchooser2] Show screen saver disable checkbox if applicable
Diffstat (limited to 'core/modules')
-rwxr-xr-x | core/modules/vmchooser2/data/opt/openslx/bin/vmchooser | 4 |
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 |