/boot/nextboot.conf not deactivated after one boot
marius.nuennerich at gmx.net
Fri Jan 6 16:35:37 PST 2006
On Fri, 6 Jan 2006 15:14:41 +0000
Ceri Davies <ceri at submonkey.net> wrote:
> On Thu, Jan 05, 2006 at 01:41:33PM +0100, Marius Nuennerich wrote:
> > Hi folks,
> > it seems like /boot/nextboot.conf is neither deleted nor
> > nextboot_enable set to NO on the first line after a reboot.
> > So it isn't a one shot anymore as the manpage claims.
> > System is 6.0-RELEASE.
> I think this is down to a typo in /etc/rc.d/root; at least I can't find
> any other reference to /boot/nextkernel in src/. Patch attached
> > It would also be fine imo, if the -k option would be optional and the
> > next kernel defaults to "kernel".
> I'm not sure if getopts can be persuaded to take an optional argument to
> an option. If not, the attached patch (nextboot.diff) should work for
I tested both patches and they work as they should. Please commit :)
More information about the freebsd-stable