summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2016-10-28 16:58:30 +0200
committerSimon Rettberg2016-10-28 16:58:30 +0200
commit025aa2f8552f4e607980ede872ce407aa154b876 (patch)
tree2662a2af027756034d7f61fb999169ac5e5448ac
parent[beamergui] Fix discrepancy in varialbe name across usages (diff)
downloadtm-scripts-025aa2f8552f4e607980ede872ce407aa154b876.tar.gz
tm-scripts-025aa2f8552f4e607980ede872ce407aa154b876.tar.xz
tm-scripts-025aa2f8552f4e607980ede872ce407aa154b876.zip
[rfs-stage31] Exclude PVS-Manager from exam mode
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init4
1 files changed, 4 insertions, 0 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index 5e6d1caf..4b3a800b 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -118,6 +118,10 @@ for mnt in proc sys run ; do
done
# HACK HACK: Klausurmodus
+if [ "x$SLX_PVS_DEDICATED" = "xyes" ] || [ "x$SLX_PVS_HYBRID" = "xyes" ]; then
+ sed -i '/^SLX_EXAM=/d' "${FUTURE_ROOT}/opt/openslx/config"
+ SLX_EXAM=
+fi
# Putting this here as we're hopefully moving to the all new dracut solution soon
# so there's no reason to make it pretty now
if [ -n "$SLX_EXAM" ]; then