diff options
author | Manuel Schneider | 2014-07-10 18:04:17 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-07-10 18:04:17 +0200 |
commit | 1805e7dd65b9a1c667da61cb8e7f320c6bd1c36e (patch) | |
tree | ae6a820f5719c9b8c7ddc8ff01b1acf838885e9b /remote/modules | |
parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
download | tm-scripts-1805e7dd65b9a1c667da61cb8e7f320c6bd1c36e.tar.gz tm-scripts-1805e7dd65b9a1c667da61cb8e7f320c6bd1c36e.tar.xz tm-scripts-1805e7dd65b9a1c667da61cb8e7f320c6bd1c36e.zip |
[pvs2] Add a startup script which starts pvs if vmchooser sets the appropriate environment variable
Diffstat (limited to 'remote/modules')
-rw-r--r-- | remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient | 12 |
1 files changed, 12 insertions, 0 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 new file mode 100644 index 00000000..54ec439e --- /dev/null +++ b/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient @@ -0,0 +1,12 @@ +#!/bin/bash + +# 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 +fi |