xenocara/app/xdm/config/Xstartup.cpp

13 lines
392 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.2 2007/08/05 19:37:40 matthieu Exp $
XCOMM
2007-08-05 13:00:25 -06:00
XCOMM Register a login (derived from GiveConsole as follows:)
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
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