Skip to content

Disabled entries #2

@honguyenminh

Description

@honguyenminh

If NVRAM has disabled entries, for example with the following efibootmgr output:

Boot0001* Shim
Boot0002  Windows Boot Manager
Boot0003* Fedora
Boot0004* Windows Boot Manager

Entry Boot0002 is disabled, or "inactive", as indicated by the asterisk missing. Should that be taken into account? Currently the script just ignores the active state and pick the first one matching regardless of whether it's inactive or not, in this case bootnext windows will match the inactive Boot0002. Not what I wanted.

Can we have an extra flag, or even make it default, to skip over inactive entries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions