From owner-cvs-all Tue Sep 3 8: 4:32 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 571BB37B400; Tue, 3 Sep 2002 08:04:22 -0700 (PDT) Received: from ns1.gnf.org (ns1.gnf.org [63.196.132.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6367C43E4A; Tue, 3 Sep 2002 08:04:21 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from EXCHCLUSTER01.lj.gnf.org (exch02.lj.gnf.org [172.25.10.20]) by ns1.gnf.org (8.12.3/8.12.3) with ESMTP id g83F4IJ1078429; Tue, 3 Sep 2002 08:04:18 -0700 (PDT) (envelope-from gtetlow@gnf.org) Received: from roark.gnf.org ([172.25.24.15]) by EXCHCLUSTER01.lj.gnf.org with Microsoft SMTPSVC(5.0.2195.4905); Tue, 3 Sep 2002 08:04:20 -0700 Received: from roark.gnf.org (localhost [127.0.0.1]) by roark.gnf.org (8.12.5/8.12.5) with ESMTP id g83F4K8A055960; Tue, 3 Sep 2002 08:04:20 -0700 (PDT) (envelope-from gtetlow@roark.gnf.org) Received: (from gtetlow@localhost) by roark.gnf.org (8.12.5/8.12.5/Submit) id g83F4Jq4055959; Tue, 3 Sep 2002 08:04:19 -0700 (PDT) Date: Tue, 3 Sep 2002 08:04:19 -0700 From: Gordon Tetlow To: Dima Dorfman 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> References: <200209021635.g82GZ1fp082872@freefall.freebsd.org> <20020902214551.088EF3E24@turbine.trit.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VkqCAaSJIySsbD6j" Content-Disposition: inline In-Reply-To: <20020902214551.088EF3E24@turbine.trit.org> User-Agent: Mutt/1.4i X-OriginalArrivalTime: 03 Sep 2002 15:04:20.0843 (UTC) FILETIME=[2E94D3B0:01C2535B] Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 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