From 94e24e63c5bff6673b32b9b4420d1ae1f458243d Mon Sep 17 00:00:00 2001 From: longpanda Date: Wed, 6 Apr 2022 15:57:42 +0800 Subject: [PATCH] Add F5 Tools ---> Power ---> Reboot to EFI setup --- INSTALL/grub/power.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/INSTALL/grub/power.cfg b/INSTALL/grub/power.cfg index 2b3bb358..13b00cbf 100644 --- a/INSTALL/grub/power.cfg +++ b/INSTALL/grub/power.cfg @@ -10,6 +10,14 @@ submenu "Power" --class=debug_power --class=F5tool { sleep 1 halt } + + if [ "$grub_platform" != "pc" ]; then + menuentry 'Reboot to EFI setup' --class=debug_efisetup --class=debug_power --class=F5tool { + echo -e '\n\nRebooting to enter UEFI firmware setup ... \n' + sleep 1 + fwsetup + } + fi menuentry 'Return to previous menu [Esc]' --class=vtoyret VTOY_RET { echo 'Return ...'