2023-10-29 15:43:55 -01:00
|
|
|
set default=0
|
|
|
|
|
2023-10-30 09:08:55 -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 15:43:55 -01:00
|
|
|
insmod gfxterm
|
|
|
|
insmod png
|
|
|
|
|
|
|
|
source /boot/grub/theme.cfg
|
|
|
|
|
|
|
|
terminal_output gfxterm
|
|
|
|
|
|
|
|
insmod play
|
|
|
|
play 960 440 1 0 4 440 1
|