diff options
| author | Manuel Schneider | 2014-07-11 13:30:28 +0200 |
|---|---|---|
| committer | Manuel Schneider | 2014-07-11 13:30:28 +0200 |
| commit | daa1a73b2eee36675f2489c4c8c72557e3a8136e (patch) | |
| tree | 3968735ce7963ce3166369ffeecaea6ca9dd5b39 /remote/modules/pvs2/data | |
| parent | [busybox] fix paths (diff) | |
| parent | [vmchooser/run-virt] Completely hide vmware toolbar in fullscreen (diff) | |
| download | tm-scripts-daa1a73b2eee36675f2489c4c8c72557e3a8136e.tar.gz tm-scripts-daa1a73b2eee36675f2489c4c8c72557e3a8136e.tar.xz tm-scripts-daa1a73b2eee36675f2489c4c8c72557e3a8136e.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/pvs2/data')
| -rw-r--r-- | remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient b/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient index 54ec439e..75ba0709 100644 --- a/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient +++ b/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient @@ -1,12 +1,11 @@ -#!/bin/bash +#!/bin/ash # If the ENV var PVS has been set by vmchooser start pvsclient -if [ -n $PVS ]; then - if [ $PVS = "true" ]; then -# if [ -n $PVS_SESSIONID ]; then -# pvsclient --session-id $PVS_SESSIONID -# else - pvsclient & -# fi - fi +if [ -n "$PVS" -a "$PVS" = "true" ]; then + if [ -n "$PVS_SESSIONID" ]; then + pvsclient --session-id "$PVS_SESSIONID" & + else + pvsclient & + fi fi + |
