#!/bin/sh # XBanner - begin if grep -qs ^run-xbanner /etc/X11/xdm/xdm.options; then /usr/X11R6/bin/freetemp fi # XBanner - end if grep -qs ^run-xmatrix /etc/X11/xdm/xdm.options; then # kill any running xmatrix pid=$(cat /var/run/xmatrix_0.pid 2>/dev/null) if [ "$pid" ]; then kill -9 $pid 2> /dev/null fi rm -f /var/run/xconsole_0.pid fi # # /etc/X11/xdm/Xstartup_0 # # This script is run as root after a user starts a session on :0. set -e # Call the global Xstartup script, if it exists if [ -x /etc/X11/xdm/Xstartup ]; then /etc/X11/xdm/Xstartup || exit $? fi # :0 specific startup commands go here exit 0