diff options
| -rwxr-xr-x | bin/efi-pxeboot.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/efi-pxeboot.py b/bin/efi-pxeboot.py index 52eace9..cfeee5d 100755 --- a/bin/efi-pxeboot.py +++ b/bin/efi-pxeboot.py @@ -141,6 +141,11 @@ def main(): "indicate a firmware") print("problem.") retval = 3 + if boot_current == "": + print("FAIL: The EFI BootCurrent variable is missing. This may " + "indicate a firmware") + print("problem.") + retval = 4 if (retval == 0): retval = is_pxe_booted(boot_entries, boot_order, boot_current) return(retval) |
