summaryrefslogtreecommitdiffstats
path: root/remote/modules/pvs2/data/opt/openslx/scripts
diff options
context:
space:
mode:
authorSimon Rettberg2016-10-04 14:31:18 +0200
committerSimon Rettberg2016-10-04 14:31:18 +0200
commit7b171ef04afab139b3243894ff195ce8a58f9341 (patch)
tree3e54354982c7aee0a2f9c1a7ea7acd7ec4684bb6 /remote/modules/pvs2/data/opt/openslx/scripts
parent[vmware] Force USB 2.0 (diff)
downloadtm-scripts-7b171ef04afab139b3243894ff195ce8a58f9341.tar.gz
tm-scripts-7b171ef04afab139b3243894ff195ce8a58f9341.tar.xz
tm-scripts-7b171ef04afab139b3243894ff195ce8a58f9341.zip
[pvs2] Implement hybrid mode where the manager is running on the second virtual desktop
Diffstat (limited to 'remote/modules/pvs2/data/opt/openslx/scripts')
-rwxr-xr-xremote/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr8
1 files changed, 1 insertions, 7 deletions
diff --git a/remote/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr b/remote/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr
index f58ce099..f39e03aa 100755
--- a/remote/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr
+++ b/remote/modules/pvs2/data/opt/openslx/scripts/setup-pvsmgr
@@ -2,11 +2,5 @@
openbox &
-. /opt/openslx/config
-if [ -n "$SLX_PVS_CONFIG_URL" ]; then
- [ -z "$UID" ] && UID="$(id -u)"
- [ -z "$HOME" ] && HOME="$(getent passwd "$UID" | head -n 1 | awk -F ':' '{print $6}')"
- wget -O "$HOME/.config/openslx/pvs2/pvs2.ini" "$SLX_PVS_CONFIG_URL"
-fi
+exec /opt/openslx/bin/pvsmgr "$@"
-exec /opt/openslx/bin/pvsmgr --manager-only