| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
uefisettings is a tool to read and write BIOS settings on a local host. It currently supports two interfaces:
cargo install uefisettingscd /tmp
git clone https://github.com/linuxboot/uefisettings
cd uefisettings
cargo install --path .
~/.cargo/bin/uefisettings --helpuefisettings hii set 'Pending operation' 'TPM Clear'if [[ "$(uefisettings hii get --json 'Enable Intel(R) TXT' | jq -r '.responses | .[].question.answer')" = "Enable" ]]; then
# Do something if TXT is enabled
fiSUBCOMMANDS:
get Auto-identify backend and get the current value of a question
help Print this message or the help of the given subcommand(s)
hii Commands which work on machines exposing the UEFI HiiDB
identify Auto-identify backend and display hardware/bios-information
ilo Commands which work on machines having HPE's Ilo BMC
set Auto-identify backend and set/change the value of a question
hii:
SUBCOMMANDS:
extract-db Dump HiiDB into a file
get Get the current value of a question
help Print this message or the help of the given subcommand(s)
list-strings List all strings-id, string pairs in HiiDB
set Set/change the value of a question
show-ifr Show a human readable representation of the Hii Forms
ilo:
SUBCOMMANDS:
get Get the current value of a question
help Print this message or the help of the given subcommand(s)
set Set/change the value of a question
show-attributes List bios attributes and their current values
To change BIOS settings from Linux terminal there are usually next ways available:
But this tool is an unified opensource approach to manipulate UEFI settings on any platform.
The opensource ilorest study results are published in doc/ilorest.md.
If one needs to update a file inside thrift directory then:
For example:
# Install fbthrift compiler
cargo install fbthrift_compiler
sudo dnf install -y fbthrift
# Update file
vi thrift/uefisettings_spellings_db.thrift
# Re-generate the rust file from the thrift file.
cargo install fbthrift_compiler
~/.cargo/bin/compiler thrift/uefisettings_spellings_db.thrift
mv lib.rs thrift/rust/uefisettings_spellings_db_thrift/uefisettings_spellings_db.rs| Back | FazBrowse Home | New Git URL |