21vesa 370 Bytes
Newer Older
root committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#!/bin/sh

PREREQ=""
DESCRIPTION="Configuring Xorg server for VESA safe mode"

prereqs()
{
       echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
       prereqs
       exit 0
       ;;
esac

. /scripts/casper-functions

grep video=vesa  /proc/cmdline || exit

log_begin_msg "$DESCRIPTION"

cp /root/etc/X11/xorg.conf.vesa /root/etc/X11/xorg.conf

log_end_msg