2021-10-04 09:22:43 +01:00
|
|
|
# nvram
|
|
|
|
|
|
|
|
> Manipulate firmware variables.
|
2024-01-31 10:20:27 +00:00
|
|
|
> More information: <https://keith.github.io/xcode-man-pages/nvram.8.html>.
|
2021-10-04 09:22:43 +01:00
|
|
|
|
|
|
|
- [p]rint all the variables stored in the NVRAM:
|
|
|
|
|
|
|
|
`nvram -p`
|
|
|
|
|
|
|
|
- [p]rint all the variables stored in the NVRAM using [x]ML format:
|
|
|
|
|
|
|
|
`nvram -xp`
|
|
|
|
|
|
|
|
- Modify the value of a firmware variable:
|
|
|
|
|
|
|
|
`sudo nvram {{name}}="{{value}}"`
|
|
|
|
|
|
|
|
- [d]elete a firmware variable:
|
|
|
|
|
|
|
|
`sudo nvram -d {{name}}`
|
|
|
|
|
|
|
|
- [c]lear all the firmware variables:
|
|
|
|
|
|
|
|
`sudo nvram -c`
|
|
|
|
|
|
|
|
- Set a firmware variable from a specific [x]ML [f]ile:
|
|
|
|
|
|
|
|
`sudo nvram -xf {{path/to/file.xml}}`
|