#! /bin/sh
#
# This script is run as root after a user starts a session on :0.

# Call the global Xstartup script, if it exists
if [ -x /etc/X11/xdm/Xstartup ] ; then
  /etc/X11/xdm/Xstartup
fi

# :0 specific startup commands go here

# Kill the mgr
if [ -f /var/run/tkmgr-pid ]
then
  kill `cat /var/run/tkmgr-pid`
  rm /var/run/tkmgr-pid
fi

exit 0
