/[packages]/cauldron/xinitrc/current/SOURCES/xdm-Xstartup
ViewVC logotype

Contents of /cauldron/xinitrc/current/SOURCES/xdm-Xstartup

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30198 - (show annotations) (download)
Fri Jan 21 20:03:16 2011 UTC (13 years, 3 months ago) by ennael
File size: 412 byte(s)
imported package xinitrc
1 #!/bin/sh
2 #
3 # Xstartup
4 #
5 # This program is run as root after the user is verified
6
7 if [ -f /etc/nologin ]; then
8 xmessage -file /etc/nologin -timeout 30 -center
9 exit 1
10 fi
11
12 /usr/share/X11/xdm/GiveConsole
13
14 # sessreg uses the parent pid, so we have to exec it
15 exec /usr/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" \
16 -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
17
18 # this line is never reached
19 exit 0

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30