grub-efi: Show fwsetup, do not show incompatible memtest even if enabled
This commit is contained in:
parent
9536a37af0
commit
169645b478
|
@ -31,13 +31,20 @@ submenu 'Advanced install options ...' --hotkey=a {
|
|||
}
|
||||
fi
|
||||
|
||||
if @ENABLE_MEMTEST@; then
|
||||
submenu 'Utilities...' --hotkey=u {
|
||||
|
||||
source /boot/grub/theme.cfg
|
||||
|
||||
# Memtest (if any)
|
||||
source /boot/grub/memtest.cfg
|
||||
if [ "${grub_platform}" = "pc" ] && @ENABLE_MEMTEST@; then
|
||||
source /boot/grub/memtest.cfg
|
||||
fi
|
||||
|
||||
# Firmware setup (UEFI)
|
||||
if [ "${grub_platform}" = "efi" ]; then
|
||||
menuentry "UEFI Firmware Settings" {
|
||||
fwsetup
|
||||
}
|
||||
fi
|
||||
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue