2023-10-29 08:58:26 -01:00
|
|
|
set default=0
|
|
|
|
|
2023-11-20 17:57:50 -01:00
|
|
|
if [ x$feature_default_font_path = xy ] ; then
|
|
|
|
font=unicode
|
|
|
|
else
|
|
|
|
font=$prefix/unicode.pf2
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Copied from the netinst image
|
|
|
|
if loadfont $font ; then
|
|
|
|
set gfxmode=800x600
|
|
|
|
set gfxpayload=keep
|
|
|
|
insmod efi_gop
|
|
|
|
insmod efi_uga
|
|
|
|
insmod video_bochs
|
|
|
|
insmod video_cirrus
|
|
|
|
else
|
|
|
|
set gfxmode=auto
|
|
|
|
insmod all_video
|
|
|
|
fi
|
|
|
|
|
2023-10-29 08:58:26 -01:00
|
|
|
insmod gfxterm
|
|
|
|
insmod png
|
|
|
|
|
|
|
|
source /boot/grub/theme.cfg
|
|
|
|
|
|
|
|
terminal_output gfxterm
|
|
|
|
|
2023-11-20 17:57:50 -01:00
|
|
|
insmod play
|
|
|
|
play 960 440 1 0 4 440 1
|