#!/bin/sh # $XConsortium: Xsetup_0,v 1.3 93/09/28 14:30:31 gildea Exp $ # This is the first script run in the login cycle, before the login banner # is put up. It runs as root. # Special by jimc for the local console. date '+%Y-%m-%d %H:%M:%S Xsetup_0 starting' xdmh=/etc/X11/xdm . /etc/profile xconsole -file /dev/xconsole -notify -verbose \ -fn fixed < /dev/null & echo $! > /tmp/.X11-unix/xconsole-0.pid if [ -x $xdmh/Bootbox ] ; then $xdmh/Bootbox < /dev/null & echo $! > /var/run/Bootbox.pid fi # The ! after the geometry means stretch as needed to fill the geometry. geom=`xwininfo -root | awk '$1 == "-geometry" {print $2}'` display -window root -resize ${geom}! - < /m1/custom/boot-bkgd.img # Fix backspace problem in login box: sysmodmap=/etc/X11/xinit/Xmodmap if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi