···281 else
282 insmod vbe
283 fi
284- insmod font
285- if loadfont " . $grubBoot->path . "/converted-font.pf2; then
286- insmod gfxterm
287- if [ \"\${grub_platform}\" = \"efi\" ]; then
288- set gfxmode=$gfxmodeEfi
289- set gfxpayload=keep
290- else
291- set gfxmode=$gfxmodeBios
292- set gfxpayload=text
293- fi
294- terminal_output gfxterm
295- fi
296 ";
297298 if ($font) {
299 copy $font, "$bootPath/converted-font.pf2" or die "cannot copy $font to $bootPath\n";
00000000000000300 }
301 if ($splashImage) {
302 # Keeps the image's extension.
···281 else
282 insmod vbe
283 fi
000000000000284 ";
285286 if ($font) {
287 copy $font, "$bootPath/converted-font.pf2" or die "cannot copy $font to $bootPath\n";
288+ $conf .= "
289+ insmod font
290+ if loadfont " . $grubBoot->path . "/converted-font.pf2; then
291+ insmod gfxterm
292+ if [ \"\${grub_platform}\" = \"efi\" ]; then
293+ set gfxmode=$gfxmodeEfi
294+ set gfxpayload=keep
295+ else
296+ set gfxmode=$gfxmodeBios
297+ set gfxpayload=text
298+ fi
299+ terminal_output gfxterm
300+ fi
301+ ";
302 }
303 if ($splashImage) {
304 # Keeps the image's extension.