xenocara/app/xdm/config/Xstartup.cpp

11 lines
317 B
C++
Raw Normal View History

2007-08-05 13:00:25 -06:00
XCOMM!/bin/sh
2007-08-05 13:37:39 -06:00
XCOMM
XCOMM $OpenBSD: Xstartup.cpp,v 1.5 2011/11/15 20:53:45 matthieu Exp $
2007-08-05 13:00:25 -06:00
XCOMM
2007-08-05 13:37:39 -06:00
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 \
2007-08-05 13:37:39 -06:00
-x XDMCONFIGDIR/Xservers -l $DISPLAY -h "" $USER