summaryrefslogtreecommitdiffstats
path: root/remote/modules/safe-mode/data/etc/X11/Xsession.d/00-exam-mode
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/safe-mode/data/etc/X11/Xsession.d/00-exam-mode')
-rw-r--r--remote/modules/safe-mode/data/etc/X11/Xsession.d/00-exam-mode9
1 files changed, 9 insertions, 0 deletions
diff --git a/remote/modules/safe-mode/data/etc/X11/Xsession.d/00-exam-mode b/remote/modules/safe-mode/data/etc/X11/Xsession.d/00-exam-mode
new file mode 100644
index 00000000..d4ab5359
--- /dev/null
+++ b/remote/modules/safe-mode/data/etc/X11/Xsession.d/00-exam-mode
@@ -0,0 +1,9 @@
+#!/bin/ash Being sourced but hey
+
+. /opt/openslx/config
+
+if [ "x$SLX_EXAM" = "xyes" ]; then
+ # Force usage of vmchooser
+ set -- "$(which vmchooser)"
+fi
+