Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2006 14:16:20 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        Marius Nuennerich <marius.nuennerich@gmx.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: /boot/nextboot.conf not deactivated after one boot
Message-ID:  <20060107141620.GO86645@submonkey.net>
In-Reply-To: <20060107013534.6b1ebdab@sol>
References:  <20060105134133.61aef78f@sol> <20060106151441.GE86645@submonkey.net> <20060107013534.6b1ebdab@sol>

next in thread | previous in thread | raw e-mail | index | archive | help

--Po3hG7FLjYU3tiSY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@submonkey.net> wrote:
>=20
> > On Thu, Jan 05, 2006 at 01:41:33PM +0100, Marius Nuennerich wrote:
> > > Hi folks,
> > >=20
> > > 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.
> > >=20
> > > System is 6.0-RELEASE.
> >=20
> > 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).
> >=20
> > > It would also be fine imo, if the -k option would be optional and the
> > > next kernel defaults to "kernel".
> >=20
> > 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.
>=20
> I tested both patches and they work as they should. Please commit :)

OK, awaiting mentor approval.

Thanks for the report and for testing.

Ceri
--=20
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)

--Po3hG7FLjYU3tiSY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDv800ocfcwTS3JF8RAgpZAJ9YvF7fem0VZJpItp4K3lTS1avoPACfZMAG
XuOebXEOq9v1LqrITODB2tM=
=MfQW
-----END PGP SIGNATURE-----

--Po3hG7FLjYU3tiSY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060107141620.GO86645>