Date: Tue, 3 Sep 2002 08:04:19 -0700 From: Gordon Tetlow <gordont@gnf.org> To: Dima Dorfman <dima@trit.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, makonnen@pacbell.net Subject: Re: cvs commit: src/etc/defaults rc.conf Message-ID: <20020903150419.GH37808@roark.gnf.org> In-Reply-To: <20020902214551.088EF3E24@turbine.trit.org> References: <200209021635.g82GZ1fp082872@freefall.freebsd.org> <20020902214551.088EF3E24@turbine.trit.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--VkqCAaSJIySsbD6j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 02, 2002 at 09:45:50PM +0000, Dima Dorfman wrote: > Gordon Tetlow <gordon@FreeBSD.org> wrote: > > gordon 2002/09/02 09:35:01 PDT > >=20 > > Modified files: > > etc/defaults rc.conf=20 > > Log: > > Turn rc_ng on by default now, it's time has come. While we are at it,= I'd > > like to thank Mike Makonnen for all his work on rcNG. Without him, no= ne > > of this would have been possible. >=20 > Can we resolve the network boot issue now? If no one really wants to > work on a "proper" solution at this point, can we at least rename > rc.d/initdiskless to rc.d/initdiskless.sh and add source_rc_confs to > it? That's the minimum to get diskless booting working with rc.d. > Unless someone else wants to do this (or one of the better > alternatives we discussed), I plan to. I've had it sitting that way > in my tree for a whlie. Can you try the following (untested) patch, then hack up initdiskless to return with an exit code of 2 in the appropriate case? --- /usr/src/etc/rc Mon Aug 19 09:43:45 2002 +++ /etc/rc Tue Sep 3 08:02:42 2002 @@ -88,6 +88,13 @@ =20 for _rc_elem in ${files}; do run_rc_script ${_rc_elem} ${_boot} + # Local FreeBSD hack to reload the rc.conf on + # a return status of 2 + if [ $? -eq 2 ]; then + unset _rc_conf_loaded + load_rc_config 'XXX' + echo "Reloading rc.conf" + fi done =20 echo '' --VkqCAaSJIySsbD6j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9dM9zRu2t9DV9ZfsRAo6SAJ9d6HFyC3rz3PwdtQlkTBHHsvSRWQCdEfqp UcsTW1rC+oP6rfebacYDFRw= =j4Z6 -----END PGP SIGNATURE----- --VkqCAaSJIySsbD6j-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020903150419.GH37808>