Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 095d689027ed7b6f28eafd0dbb57d0d4 > files > 15

xinitrc-2.4.19-6mdv2008.0.src.rpm

#!/bin/sh
#
# Xstartup
#
# This program is run as root after the user is verified

if [ -f /etc/nologin ]; then
	xmessage -file /etc/nologin -timeout 30 -center
	exit 1
fi

/etc/X11/xdm/GiveConsole

# sessreg uses the parent pid, so we have to exec it
exec /usr/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" \
	-x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER

# this line is never reached
exit 0