#!/bin/sh
#if [ -r /tmp/SeTcolor -o "$COLOR" = "on" ]; then
# dialog --title "SETTING DEFAULT X SERVER" --infobox "Making XF86_FBDev the default X server." 3 50
#else
# echo "Making XF86_FBDev the default X server..."
# echo "  --> cd /var/X11R6/bin"
# echo "  --> ln -sf /usr/X11R6/bin/XF86_FBDev X"
#fi
( cd usr/X11R6/bin ; rm -rf X )
( cd usr/X11R6/bin ; ln -sf  /var/X11R6/bin/X X )
( cd var/X11R6/bin ; rm -rf X )
( cd var/X11R6/bin ; ln -sf  /usr/X11R6/bin/XF86_FBDev X )
# If there's no XF86Config, use this one:
if [ ! -r etc/XF86Config ]; then
  cp -a etc/XF86Config-fbdev etc/XF86Config
fi
