From 5d765da8436fc7482509053f49eb01be9222e56b Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 30 Apr 2021 01:04:28 +0200 Subject: [PATCH] Add firmware setup entry --- root/etc/grub.d/40_custom | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 root/etc/grub.d/40_custom diff --git a/root/etc/grub.d/40_custom b/root/etc/grub.d/40_custom new file mode 100755 index 0000000..36bc370 --- /dev/null +++ b/root/etc/grub.d/40_custom @@ -0,0 +1,11 @@ +#!/bin/sh +exec tail -n +3 $0 +# This file provides an easy way to add custom menu entries. Simply type the +# menu entries you want to add after this comment. Be careful not to change +# the 'exec tail' line above. + +if [ ${grub_platform} == "efi" ]; then + menuentry "Firmware setup" { + fwsetup + } +fi