Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/reboot/nextboot.8
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd September 19, 2020 | .Dd October 11, 2020 | ||||
.Dt NEXTBOOT 8 | .Dt NEXTBOOT 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm nextboot | .Nm nextboot | ||||
.Nd "specify an alternate kernel and boot flags for the next reboot" | .Nd "specify an alternate kernel and boot flags for the next reboot" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl af | .Op Fl af | ||||
.Op Fl e Ar variable=value | .Op Fl e Ar variable=value | ||||
.Op Fl k Ar kernel | .Op Fl k Ar kernel | ||||
.Op Fl o Ar options | .Op Fl o Ar options | ||||
.Nm | .Nm | ||||
.Fl D | .Fl D | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility allows specifying some combination of an alternate kernel, boot flags | utility allows specifying some combination of an alternate kernel, boot | ||||
and kernel environment for the | flags, and kernel environment for the next time the machine is booted. | ||||
next time the machine is booted. | |||||
Once the | Once the | ||||
.Xr loader 8 | .Xr loader 8 | ||||
loads in the new kernel | loads in the new kernel information from the | ||||
information, it is deleted so in case the new kernel hangs the machine, | .Pa /boot/nextboot.conf | ||||
once it is rebooted, the machine will automatically revert to its previous | file, it is disabled so in case the new kernel hangs the machine, once | ||||
it is rebooted, the machine will automatically revert to its previous | |||||
configuration. | configuration. | ||||
.Pp | .Pp | ||||
The options are as follows: | The options are as follows: | ||||
.Bl -tag -width ".Fl o Ar options" | .Bl -tag -width ".Fl o Ar options" | ||||
.It Fl a | .It Fl a | ||||
This option causes | This option causes | ||||
.Nm | .Nm | ||||
to append to an existing configuration in | to append to an existing configuration in | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |