xenocara/app/xdm/config/Xstartup.cpp

13 lines
421 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
2010-03-28 03:33:02 -06:00
XCOMM $OpenBSD: Xstartup.cpp,v 1.3 2010/03/28 09:33:02 matthieu Exp $
2007-08-05 13:00:25 -06:00
XCOMM
2010-03-28 03:33:02 -06:00
BINDIR/sessreg -a -w WTMP_FILE -u UTMP_FILE \
-x XDMCONFIGDIR/Xservers -l $DISPLAY -h "" $USER
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
2007-08-05 13:00:25 -06:00
BINDIR/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" \
2007-08-05 13:37:39 -06:00
-x XDMCONFIGDIR/Xservers -l $DISPLAY -h "" $USER