summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Schneider2014-07-22 20:18:57 +0200
committerManuel Schneider2014-07-22 20:18:57 +0200
commit6faeb3a3ca5dae8796b73a10b3a448b5e86e42d2 (patch)
treeb0380336530a3410f1335db216361ee0a269c213
parentoops2 - debug code .... (diff)
downloadtm-scripts-6faeb3a3ca5dae8796b73a10b3a448b5e86e42d2.tar.gz
tm-scripts-6faeb3a3ca5dae8796b73a10b3a448b5e86e42d2.tar.xz
tm-scripts-6faeb3a3ca5dae8796b73a10b3a448b5e86e42d2.zip
[pvs2] start pvsclient in any case
-rw-r--r--remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient10
1 files changed, 4 insertions, 6 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 75ba0709..b33889df 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,11 +1,9 @@
#!/bin/ash
# If the ENV var PVS has been set by vmchooser start pvsclient
-if [ -n "$PVS" -a "$PVS" = "true" ]; then
- if [ -n "$PVS_SESSIONID" ]; then
- pvsclient --session-id "$PVS_SESSIONID" &
- else
- pvsclient &
- fi
+if [ -n "$PVS_SESSIONID" ]; then
+ pvsclient --session-id "$PVS_SESSIONID" &
+else
+ pvsclient &
fi