/boot/nextboot.conf not deactivated after one boot
ceri at submonkey.net
Sat Jan 7 06:16:22 PST 2006
On Sat, Jan 07, 2006 at 01:35:34AM +0100, Marius Nuennerich wrote:
> 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
> > (root.diff).
> > > 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
> > you.
> I tested both patches and they work as they should. Please commit :)
OK, awaiting mentor approval.
Thanks for the report and for testing.
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former. -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060107/cf479015/attachment.bin
More information about the freebsd-stable