summaryrefslogtreecommitdiffstats
path: root/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient
blob: 1981736ff72d034d59cc33155e1e63d6089f436b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/ash

# If the ENV var PVS has been set by vmchooser start pvsclient
if [ -n "$PVS_START" -a "$PVS_START" == "yes" ]; then
	if [ -n "$PVS_SESSIONID" ]; then
		pvsclient "$PVS_SESSIONID" &
	else
		pvsclient --auto &
	fi
fi