#!/bin/ash
#
#
 if [ ! -e /boot/map ]; then
   echo "You need LILO to run VESA boot."
   exit
 fi
 delfb 1>/dev/null
 sed -i /vga/d /etc/lilo.conf
 if [ -e /usr/bin/startx ]; then
   echo vga=791 >> /etc/lilo.conf
   else
   echo vga=788 >> /etc/lilo.conf
 fi
 echo "VESA boot enabled."
