HomeFreeBSD

nextboot: Reimplement missing -a option

Description

nextboot: Reimplement missing -a option

  • Reimplement the -a option which was available in the original shell script and is still documented.
  • Print the correct usage string when invoked as nextboot.
  • Add the -D option to the manual page synopsis.

MFC after: 1 week
Fixes: fd6d47375a78 ("rescue,nextboot: Install nextboot as a link to reboot, rm nextboot.sh")
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54120

(cherry picked from commit de670c611b17939712a81dc56f73a3ff84f6c178)

Details

Provenance
desAuthored on Dec 8 2025, 10:30 AM
Reviewer
imp
Differential Revision
D54120: nextboot: Reimplement missing -a option
Parents
rG8959eda100d5: noshutdown: Fix startup order
Branches
Unknown
Tags
Unknown