class Setboot::BootInfo
- Setboot::BootInfo
- Reference
- Object
Overview
Captures data on the state of the boot manager
Defined in:
setboot.crConstructors
Class Method Summary
-
.from_bootmgr
Constructs an instance by consuming output for efibootmgr
Instance Method Summary
-
#bootlist : String
Return a descriptive string for the boot order
-
#bootmgr_set_next
Set the current next boot entry in EFI
-
#bootmgr_set_order
Set the current boot order in EFI
-
#bootnext!(substr : String) : UInt16 | Nil
Change the next boot entry to the first matching and active entry
- #current : UInt16
- #entries : Hash(UInt16, BootEntry)
-
#match_line!(line : String)
Process a single line from the output of efibootmgr
- #nextent : UInt16 | Nil
- #order : Array(UInt16)
-
#promote!(substr : String) : UInt16 | Nil
Move the first matching and active entry to the start of the order
Constructor Detail
Class Method Detail
Instance Method Detail
def bootnext!(substr : String) : UInt16 | Nil
#
Change the next boot entry to the first matching and active entry
def promote!(substr : String) : UInt16 | Nil
#
Move the first matching and active entry to the start of the order