From owner-cvs-all Mon Jan 25 21:05:49 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01289 for cvs-all-outgoing; Mon, 25 Jan 1999 21:05:49 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from dingo.cdrom.com (castles37.castles.com [208.214.165.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01273; Mon, 25 Jan 1999 21:05:44 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id UAA13967; Mon, 25 Jan 1999 20:58:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199901260458.UAA13967@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Matthew Dillon cc: "Jordan K. Hubbard" , Poul-Henning Kamp , Mike Smith , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_mib.c In-reply-to: Your message of "Mon, 25 Jan 1999 17:01:41 PST." <199901260101.RAA08921@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 25 Jan 1999 20:58:37 -0800 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > : > :> Do people have any objections to running ifconfig and route inside > :> /etc/rc.conf to 'calculate' a machine-specific rc.conf.local path ? > : > :I do - I like the fact that rc.conf is a "passive" mechanism and can > :be included multiple times (or trivially overridden in rc.conf.local) > :since it only defines variables and has no other "side effects." > : > :- Jordan > > What if we added a sysctl variable to the diskless subsection to make > the IP address more readily accessible. Then rc.conf would only have to > run a sysctl ( which should be acceptable ). That would avoid having > to run route and ifconfig. This is silly. You already have the system's hostname (both bootp and DHCP can give you a hostname). Use `hostname` if you need a machine-specific identifier. Don't go making life hard for yourself. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message