Page MenuHomeFreeBSD

rescue,nextboot: Install nextboot as a link to reboot, rm nextboot.sh
ClosedPublic

Authored by imp on Feb 11 2024, 2:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 4:23 PM
Unknown Object (File)
Fri, Apr 26, 7:46 PM
Unknown Object (File)
Fri, Apr 26, 7:46 PM
Unknown Object (File)
Fri, Apr 26, 7:46 PM
Unknown Object (File)
Fri, Apr 26, 4:12 PM
Unknown Object (File)
Apr 14 2024, 5:39 PM
Unknown Object (File)
Apr 8 2024, 10:34 PM
Unknown Object (File)
Mar 19 2024, 9:21 PM
Subscribers

Details

Summary

Reboot now emulates the nextboot shell script completely. Retire the
nextboot.sh script and install the link. Retain the same manual page,
since there's enough differences between nextboot and reboot that
talking about nextboot would likely be confusing in nextboot.8

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Feb 11 2024, 2:28 AM
imp created this revision.

Do you need to do something with /rescue?

In D43831#1000047, @kib wrote:

Do you need to do something with /rescue?

Yes I do. It's easy to fix. I'll add a review for it..

Also, rescue + nextboot is currently broken for zfs anyway. The nextboot script used zfsbootcfg, but that was never added to rescue when the call was added to nextboot.sh. Yet another loose end I'm cleaning up.

This revision is now accepted and ready to land.Feb 12 2024, 5:14 PM

Note: Folding this with D43843 on push.

imp retitled this revision from nextboot: Install nextboot as a link to reboot to rescue,nextboot: Install nextboot as a link to reboot, rm nextboot.sh.Feb 12 2024, 6:39 PM