From 529a593b087d341d5e5a68c3194db6f11c0e9490 Mon Sep 17 00:00:00 2001 From: Ing Date: Thu, 20 Feb 2025 21:47:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=9F=90=E4=BA=9B?= =?UTF-8?q?=E4=B8=BB=E6=9D=BF=E4=B8=8D=E6=94=AF=E6=8C=81=20fwsetup=20?= =?UTF-8?q?=E7=9A=84=E5=8F=82=E6=95=B0=20--is-supported,=20=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9B=B4=E6=8E=A5=E8=BF=9B=E5=85=A5UEFI=20=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/mnt/p1/boot/grub/grub.cfg | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/files/mnt/p1/boot/grub/grub.cfg b/files/mnt/p1/boot/grub/grub.cfg index 40951a9b..63ac0d83 100644 --- a/files/mnt/p1/boot/grub/grub.cfg +++ b/files/mnt/p1/boot/grub/grub.cfg @@ -173,12 +173,9 @@ menuentry 'Configure loader (verbose)' ${menuentry_id_option} verbose { if [ "${grub_platform}" = "efi" ]; then insmod bli - fwsetup --is-supported - if [ "$?" = 0 ]; then - menuentry 'UEFI Firmware Settings' ${menuentry_id_option} uefi { - fwsetup - } - fi + menuentry 'UEFI Firmware Settings' ${menuentry_id_option} uefi { + fwsetup + } fi if [ -e ${prefix}/memtest ]; then