From 444d0ba359ce568e0e71229ec81cf6f4dbab6112 Mon Sep 17 00:00:00 2001 From: Sophie Brun Date: Tue, 25 Jan 2022 14:29:42 +0100 Subject: [PATCH] Add missing Utilities menu entry for UEFI --- .../common/bootloaders/grub-pc/grub.cfg | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/kali-config/common/bootloaders/grub-pc/grub.cfg b/kali-config/common/bootloaders/grub-pc/grub.cfg index 909a8e9..1467e01 100644 --- a/kali-config/common/bootloaders/grub-pc/grub.cfg +++ b/kali-config/common/bootloaders/grub-pc/grub.cfg @@ -38,3 +38,21 @@ LINUX_ADVANCED_INSTALL MEMTEST } + +submenu 'Utilities...' --hotkey=u { + + source /boot/grub/theme.cfg + + # Memtest (if any) + if [ "${grub_platform}" = "pc" ] -a @ENABLE_MEMTEST@; then + source /boot/grub/memtest.cfg + fi + + # Firmware setup (UEFI) + if [ "${grub_platform}" = "efi" ]; then + menuentry "UEFI Firmware Settings" { + fwsetup + } + fi + +}