#! /bin/sh
#
# rc.4: Initialize for run-level 4 (xdm environment).
#

XFPLAMO_OPTIONS="`cat /proc/cmdline`"
#/sbin/xfplamoconfig.sh $XFPLAMO_OPTIONS > /etc/X11/xorg.conf
/sbin/xfplamoconfig

echo "Starting X display manager..."
if [ -x /opt/kde/bin/kdm ]; then
    export LANG=ja_JP.eucJP
    exec /opt/kde/bin/kdm -nodaemon
elif [ -x /usr/sbin/gdm ]; then
    export LANG=ja_JP.eucJP
    exec /usr/sbin/gdm -nodaemon
else
    exec /usr/X11R7/bin/xdm -nodaemon
fi

# All done.
