Date: Sat, 7 Jan 2006 01:35:34 +0100 From: Marius Nuennerich <marius.nuennerich@gmx.net> To: Ceri Davies <ceri@submonkey.net> Cc: freebsd-stable@freebsd.org Subject: Re: /boot/nextboot.conf not deactivated after one boot Message-ID: <20060107013534.6b1ebdab@sol> In-Reply-To: <20060106151441.GE86645@submonkey.net> References: <20060105134133.61aef78f@sol> <20060106151441.GE86645@submonkey.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Jan 2006 15:14:41 +0000 Ceri Davies <ceri@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 :) Thanks Marius
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060107013534.6b1ebdab>