01gfxterm.cfg 818 Bytes
Newer Older
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 28 29 30 31 32 33 34 35 36 37
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

font=${prefix}/fonts/unicode.pf2
if loadfont "$font" ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  terminal_output gfxterm
  if [ -d ${prefix}/locale ]; then
    set locale_dir=${prefix}/locale
    insmod gettext
  fi
  insmod gfxmenu
  insmod jpeg
  insmod png
  if [ -f ${prefix}/themes/@grubtheme@/theme.txt ]; then
    set theme=${prefix}/themes/@grubtheme@/theme.txt;
    export theme
  fi
  set timeout_style=menu
  set menu_color_normal=white/black
  set menu_color_highlight=black/white
  set color_normal=white/black
  set color_highlight=black/white
fi