summaryrefslogtreecommitdiff
path: root/app/xdm/config/Xstartup.cpp
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-08-05 19:01:08 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-08-05 19:01:08 +0000
commit206964264f17c9d4e1b31740d9ecf083a1b27fbc (patch)
treea8bacc2762fe423ae096033b57bd579c8aee7298 /app/xdm/config/Xstartup.cpp
parent52f6797c11bf512d42d4ea30f70a6fdedae6f9ad (diff)
Import xdm 1.1.4
Diffstat (limited to 'app/xdm/config/Xstartup.cpp')
-rw-r--r--app/xdm/config/Xstartup.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/xdm/config/Xstartup.cpp b/app/xdm/config/Xstartup.cpp
new file mode 100644
index 000000000..a3f3f9e11
--- /dev/null
+++ b/app/xdm/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