From fa106cca9a5163cfc6945ff1beebe9a57ded7d18 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 21 Jun 2024 21:06:54 +0200 Subject: [PATCH] grub: set resolution to auto Signed-off-by: AuxXxilium --- files/p1/boot/grub/grub.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/p1/boot/grub/grub.cfg b/files/p1/boot/grub/grub.cfg index 1f4fa0c9..090ddddb 100644 --- a/files/p1/boot/grub/grub.cfg +++ b/files/p1/boot/grub/grub.cfg @@ -43,13 +43,13 @@ function load_video { } load_video -if loadfont unicode ; then - if keystatus --shift ; then true ; else +if loadfont unicode; then + if keystatus --shift; then true ; else insmod gfxterm - set gfxmode=1280x1024 + set gfxmode=auto set gfxpayload=auto terminal_output gfxterm - if terminal_output gfxterm ; then true ; else + if terminal_output gfxterm; then true ; else terminal gfxterm fi insmod gfxmenu