2022-11-25 09:42:09 -01:00
|
|
|
set default=0
|
|
|
|
|
2023-11-20 17:57:14 -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
|
|
|
|
|
2022-11-25 09:42:09 -01:00
|
|
|
insmod gfxterm
|
|
|
|
insmod png
|
|
|
|
|
|
|
|
source /boot/grub/theme.cfg
|
|
|
|
|
|
|
|
terminal_output gfxterm
|
|
|
|
|
2023-11-20 17:57:14 -01:00
|
|
|
insmod play
|
|
|
|
play 960 440 1 0 4 440 1
|