Would like to add a command for reading EFI variables from command line or config files to make following scenario possible in grub.cfg:
# check whether Secure Boot is enabled get_efivar -t uint8 SecureBoot efi_secure_boot if [ $efi_secure_boot = 1 ]; then # secure boot is enabled, boot our secure OS elif # secure boot is disabled: enable it, boot insecure OS etc fi
grub2.patch
Description: Binary data
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel