2 XCOMM $XConsortium: rc.bootx.src /main/4 1996/04/21 19:52:52 drk $
4 XCOMM COMPONENT_NAME: desktop
11 XCOMM (C) COPYRIGHT International Business Machines Corp. 1994, 1995
12 XCOMM All Rights Reserved
13 XCOMM Licensed Materials - Property of IBM
14 XCOMM US Government Users Restricted Rights - Use, duplication or
15 XCOMM disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
18 if [ ! -f /.bootsequence ]; then
20 XCOMM boot sequence has already ended
25 echo "XAUTHORITY=$XAUTHORITY" >/.bootsequence
27 /usr/bin/chown root.system /dev/console
30 XCOMM Start up aixconsole to display console messages and save PID
32 /usr/bin/X11/aixconsole -fg black -bg "light grey" &
36 XCOMM Determine if X resolution is 1024
37 XCOMM This command will set the variables SCREEN_WIDTH, SCREEN_HEIGHT
39 eval `/usr/sbin/bootxutil -dpyinfo`
42 XCOMM If X resolution is 1280X1024 then display big graphic, else display small
45 if [ "$SCREEN_WIDTH" -eq 1280 ] ; then
46 /usr/bin/X11/xdi -onroot -center -border black /usr/lpp/X11/lib/X11/images/logo2.gif >/dev/null
48 /usr/bin/X11/xdi -onroot -center -border black /usr/lpp/X11/lib/X11/images/logo1.gif >/dev/null
52 XCOMM wait for boot sequence to end
54 while [ -f /.bootsequence ]; do
60 XCOMM remove any left over backgrounds (such as logo or install_assist backdrop)
62 /usr/bin/kill $XCONS_PID
63 /usr/bin/X11/xsetroot -solid black