diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-07-27 18:18:20 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-07-27 18:18:20 +0000 |
commit | de26ba4d82a253e89c8829b89bf8fc5a2d27f21d (patch) | |
tree | 7558c381291e5f57513cc58ce1ba24a1d8f2100d /usr.sbin/efibootmgr/efibootmgr.8 | |
parent | b51092c7ec2db8b52c50bafce4fd51e15e090560 (diff) | |
download | src-de26ba4d82a253e89c8829b89bf8fc5a2d27f21d.tar.gz src-de26ba4d82a253e89c8829b89bf8fc5a2d27f21d.zip |
Add -b bootnum to allow creation of a specific boot number (rather
than the auotmatic selection). This is important in some scripting
environments.
Also, remove bogus checks for bootnum != 0. 0 is a valid bootnum.
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=336768
Diffstat (limited to 'usr.sbin/efibootmgr/efibootmgr.8')
-rw-r--r-- | usr.sbin/efibootmgr/efibootmgr.8 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/efibootmgr/efibootmgr.8 b/usr.sbin/efibootmgr/efibootmgr.8 index 7d0b3fde1f0c..a169f29fc93a 100644 --- a/usr.sbin/efibootmgr/efibootmgr.8 +++ b/usr.sbin/efibootmgr/efibootmgr.8 @@ -36,7 +36,7 @@ .Op Fl T .Op Fl o Ar bootorder .Op Fl verbose -.Op Fl c -k Ar kernel -l Ar loader [-L Ar label] [--dry-run] +.Op Fl c -k Ar kernel -l Ar loader [-L Ar label] [--dry-run] [-b Bootvar] .Sh "DESCRIPTION" .Nm manipulates how UEFI Boot Managers boot the system. @@ -70,6 +70,9 @@ Create a new Boot Variable The path to and name of the loader. .It Fl k -kernel Ar kernel The path to and name of the kernel. +.It Fl b Bootvar +When creating an entry, use Bootvar as the index. +Fail if it already exists. .It Fl L -label Ar label An optional description for the entry. .It Fl D -dry-run |