#!/bin/sh
#
# x.service - kdm/gdm/xdm(1) service file
#

case $1 in
start)
	. /etc/profile
	if [ -x /opt/kde/bin/kdm ]; then
		/opt/kde/bin/kdm
	elif [ -x /opt/gnome/bin/gdm ]; then
		/opt/gnome/bin/gdm
	elif [ -x /usr/X11R6/bin/xdm ]; then
		/usr/X11R6/bin/xdm
	fi
	;;
stop)	# do nothing
	;;
*)
	echo "usage: $0 start|stop"
esac

# EOF

