#! /bin/sh # # rc.wdm multi-user runlevel initscript # This file is executed by init(8) when the system is being # initialized for run level 5 using the WDM Display Manager # #. /etc/rc.d/rc.wdm # Tell the viewers what's going to happen... echo "Starting up the WDM Login and Display Manager..." if [ -x /usr/bin/wdm ] ; then exec /usr/bin/wdm # exec /usr/bin/wdm -nodaemon # use -nodaemon if you think it's better if [[ $? -ne 0 ]] ; then echo "Problems running WDM. Exiting..." fi else echo "You don't have WDM installed." fi sleep 5