summaryrefslogtreecommitdiffstats
path: root/data/PreSession.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/PreSession.in')
-rwxr-xr-xdata/PreSession.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/PreSession.in b/data/PreSession.in
new file mode 100755
index 0000000..cfabee7
--- /dev/null
+++ b/data/PreSession.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# Note that any setup should come before the sessreg command as
+# that must be 'exec'ed for the pid to be correct (sessreg uses the parent
+# pid)
+#
+# Note that output goes into the .xsession-errors file for easy debugging
+#
+PATH="@X_PATH@:$PATH"