summaryrefslogtreecommitdiff
path: root/config/Xstartup.cpp
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-11-06 14:08:15 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-11-06 14:08:15 -0800
commit37f9293e3cc00411d8d335ce729d18995bb9ce59 (patch)
treee80e25ab1b0a300370b29b3db12e751134951488 /config/Xstartup.cpp
parent0e0221a70543ba5f2aa7ce188e2dc9544bac96bd (diff)
Fill in paths at build time in Xreset & Xstartup
Stop hardcoding /usr/X11R6/bin/sessreg and instead fill in paths like other config files from directories passed via configure.
Diffstat (limited to 'config/Xstartup.cpp')
-rw-r--r--config/Xstartup.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/Xstartup.cpp b/config/Xstartup.cpp
new file mode 100644
index 0000000..a3f3f9e
--- /dev/null
+++ b/config/Xstartup.cpp
@@ -0,0 +1,5 @@
+XCOMM!/bin/sh
+XCOMM Register a login (derived from GiveConsole as follows:)
+XCOMM
+BINDIR/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" \
+ -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER