summaryrefslogtreecommitdiffstats
path: root/core/modules/pvs2/data/opt
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-23 16:32:00 +0200
committerSimon Rettberg2024-05-23 16:32:00 +0200
commit7359f61fc04981ccef48fccee299e14a6066ce4b (patch)
tree6cefa55b72b9dd7dd58cd1988d9c7a02eccaf754 /core/modules/pvs2/data/opt
parent[systemd] Remove module (diff)
downloadmltk-7359f61fc04981ccef48fccee299e14a6066ce4b.tar.gz
mltk-7359f61fc04981ccef48fccee299e14a6066ce4b.tar.xz
mltk-7359f61fc04981ccef48fccee299e14a6066ce4b.zip
Big round of cleanup
- Remove a lot of TODOs, either by fixing them or because they became irrelevant - Change all git:// to https:// - Move hwreport and hwinfo from /run to /run/openslx - Minor script style cleanups - Remove dead code and functions in various scripts
Diffstat (limited to 'core/modules/pvs2/data/opt')
-rwxr-xr-xcore/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient4
1 files changed, 2 insertions, 2 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 9f13ed4a..bc4726f4 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
@@ -9,7 +9,7 @@ if [ "$SESSION_TYPE" = "XSESSION" ]; then
PVSMGR_SESSION_CMD=
PVSMGR_XSESSION_FILE="pvs2mgr.desktop"
# the second directory should not be needed, but lets be compatible with the old crap......
- for DIR in "/usr/share/xsessions" "/opt/openslx/xsessions/"; do
+ for DIR in "/usr/share/xsessions" "/opt/openslx/xsessions"; do
if [ -f "${DIR}/${PVSMGR_XSESSION_FILE}" ]; then
# extract the exact command string
PVSMGR_SESSION_CMD="$(grep -E "^Exec=.*$" "${DIR}/${PVSMGR_XSESSION_FILE}" |cut -c 6-)"
@@ -18,7 +18,7 @@ if [ "$SESSION_TYPE" = "XSESSION" ]; then
done
if [ -n "${PVSMGR_SESSION_CMD}" ]; then
# do not start pvsclient if we are running the pvs manager session
- [ "x${SESSION_CMD}" == "x${PVSMGR_SESSION_CMD}" ] && exit 0
+ [ "${SESSION_CMD}" == "${PVSMGR_SESSION_CMD}" ] && exit 0
fi
fi