Download Latest Version CactusROMRev2_PinePhone.img (4.1 GB)
Email in envelope

Get an email when there's a new version of CactusROM

Home / SourceFS / fwupd / bios-settings.d
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-02-03 1.0 kB
Totals: 1 Item   1.0 kB 0

BIOS Settings

On supported machines fwupd can enforce BIOS settings policy so that a user's desired settings are configured at bootup and prevent fwupd clients from changing them.

JSON policies

A policy file can be created using fwupdmgr. First determine what settings you want to enforce by running:

# fwupdmgr get-bios-settings

After you have identified settings, create a JSON payload by listing them on the command line. Any number of attributes can be listed. For example for the BIOS setting WindowsUEFIFirmwareUpdate you would create a policy file like this:

# fwupdmgr get-bios-settings --json WindowsUEFIFirmwareUpdate > ~/foo.json

Now examine ~/foo.json and modify the BiosSettingCurrentValue key to your desired value.

Lastly place this policy file into /etc/fwupd/bios-settings.d. Any number of policies is supported, and they will be examined in alphabetical order. The next time that fwupd is started it will load this policy and ensure that no fwupd clients change it.

Source: README.md, updated 2025-02-03