diff options
author | Simon Rettberg | 2023-01-20 11:24:50 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-01-20 11:24:50 +0100 |
commit | 906e0c3e1ab03178a6d05043e5284e68c60e1af3 (patch) | |
tree | e8ff2238e028f9b4d956fc212ca0286ab7df6493 /core/modules/pvs2/data | |
parent | [vmware-common/run-virt] Subtract more RAM for larger VRAM (diff) | |
download | mltk-906e0c3e1ab03178a6d05043e5284e68c60e1af3.tar.gz mltk-906e0c3e1ab03178a6d05043e5284e68c60e1af3.tar.xz mltk-906e0c3e1ab03178a6d05043e5284e68c60e1af3.zip |
[pvs2] Only start pvsmgr in hybrid mode if it is actually requested
i.e., honor SLX_PVS_HYBRID (must be 'yes')
Diffstat (limited to 'core/modules/pvs2/data')
-rwxr-xr-x | core/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient b/core/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient index cd932597..9f13ed4a 100755 --- a/core/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient +++ b/core/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient @@ -47,9 +47,8 @@ else pvsstartup $PVSCONFIG & fi -# Finally, handle hybrid mode where the pvsmgr is launched on the second desktop -# alongside the actual vm. (make sure this is a VSESSION!) -if [ "$SESSION_TYPE" == "VSESSION" ]; then +# Finally, handle hybrid mode where the pvsmgr is launched on the second desktop. +if [ "$SLX_PVS_HYBRID" == "yes" ]; then { wt="PVS2 Manager" pvsmgr "$PVSCONFIG" --manager-only & |