summaryrefslogtreecommitdiff
path: root/config/Xstartup.cpp
blob: dd9bfe442af56002f04bd0805c9c96cffe72422f (plain)
1
2
3
4
5
6
7
8
9
10
XCOMM!/bin/sh
XCOMM 
XCOMM $OpenBSD: Xstartup.cpp,v 1.5 2011/11/15 20:53:45 matthieu Exp $
XCOMM
if [ -f /etc/nologin ]; then
        /usr/X11R6/bin/xmessage -file /etc/nologin -timeout 30 -center
        exit 1
fi
exec BINDIR/sessreg  -a -w WTMP_FILE -u UTMP_FILE \
	-x XENODMCONFIGDIR/Xservers -l $DISPLAY -h "" $USER