Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 1999 20:58:37 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Mike Smith <mike@smith.net.au>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern kern_mib.c 
Message-ID:  <199901260458.UAA13967@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 25 Jan 1999 17:01:41 PST." <199901260101.RAA08921@apollo.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> :
> :>     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



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