summaryrefslogtreecommitdiff
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
parent52f6797c11bf512d42d4ea30f70a6fdedae6f9ad (diff)
Import xdm 1.1.4
-rw-r--r--app/xdm/config/Xreset.cpp5
-rw-r--r--app/xdm/config/Xstartup.cpp5
2 files changed, 10 insertions, 0 deletions
diff --git a/app/xdm/config/Xreset.cpp b/app/xdm/config/Xreset.cpp
new file mode 100644
index 000000000..8f4ef193d
--- /dev/null
+++ b/app/xdm/config/Xreset.cpp
@@ -0,0 +1,5 @@
+XCOMM!/bin/sh
+XCOMM Deregister a login. (Derived from TakeConsole as follows:)
+XCOMM
+BINDIR/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" \
+ -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER
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