diff options
author | Kay Sievers <kay@vrfy.org> | 2013-03-10 22:47:56 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-03-10 22:48:27 +0100 |
commit | bc6f2e7c62bcd08177f879423188c54289694619 (patch) | |
tree | bc5ac1caf432a58fef6a55626084927227e9348c /src/boot/boot-efi.c | |
parent | ad88e758d1b08a21d25971b074e119c167757109 (diff) |
bootctl: print secure boot flags
Diffstat (limited to 'src/boot/boot-efi.c')
-rw-r--r-- | src/boot/boot-efi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/boot/boot-efi.c b/src/boot/boot-efi.c index 51f12c0c1a..9960c4d742 100644 --- a/src/boot/boot-efi.c +++ b/src/boot/boot-efi.c @@ -158,6 +158,9 @@ int boot_info_query(struct boot_info *info) { char buf[64]; char *loader_active = NULL; + info->fw_secure_boot = is_efi_secure_boot(); + info->fw_secure_boot_setup_mode = is_efi_secure_boot_setup_mode(); + efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderInfo", &info->loader); get_boot_entries(info); |