.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1. .TH EFI "1" "February 2023" "EFI Boot Guard v0.13" "User Commands" .SH NAME EFI \- bg_setenv .SH SYNOPSIS .B bg_setenv [\fI\,OPTION\/\fR...] .SH DESCRIPTION bg_setenv \- Environment tool for the EFI Boot Guard .TP \fB\-a\fR, \fB\-\-args\fR=\fI\,KERNEL_ARGS\/\fR Set kernel arguments .TP \fB\-c\fR, \fB\-\-confirm\fR Confirm working environment .TP \fB\-f\fR, \fB\-\-filepath\fR=\fI\,ENVFILE\/\fR Environment to use. Expects a file name, usually called BGENV.DAT. .TP \fB\-i\fR, \fB\-\-in_progress\fR=\fI\,IN_PROGRESS\/\fR Set in_progress variable to simulate a running update process. .TP \fB\-k\fR, \fB\-\-kernel\fR=\fI\,KERNEL\/\fR Set kernel to load .TP \fB\-p\fR, \fB\-\-part\fR=\fI\,ENV_PART\/\fR Set environment partition to update. If no partition is specified, the one with the smallest revision value above zero is updated. .TP \fB\-P\fR, \fB\-\-preserve\fR Preserve existing entries .TP \fB\-r\fR, \fB\-\-revision\fR=\fI\,REVISION\/\fR Set revision value .TP \fB\-s\fR, \fB\-\-ustate\fR=\fI\,USTATE\/\fR Set update status for environment .TP \fB\-u\fR, \fB\-\-update\fR Automatically update oldest revision .TP \fB\-v\fR, \fB\-\-verbose\fR Be verbose .TP \fB\-w\fR, \fB\-\-watchdog\fR=\fI\,WATCHDOG_TIMEOUT\/\fR Watchdog timeout in seconds .TP \fB\-x\fR, \fB\-\-uservar\fR=\fI\,KEY=VAL\/\fR Set user\-defined string variable. For setting multiple variables, use this option multiple times. .TP \-?, \fB\-\-help\fR Give this help list .TP \fB\-\-usage\fR Give a short usage message .TP \fB\-V\fR, \fB\-\-version\fR Print version .PP Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.