Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2003 06:01:36 -0400
From:      Mike Makonnen <mtm@identd.net>
To:        John Nielsen <john@jnielsen.net>
Cc:        current@freebsd.org
Subject:   Re: dhclient script in rc.d doesn't use ${dhcp_program} (conf/53007)
Message-ID:  <20030607100137.QOSI20032.out005.verizon.net@kokeb.ambesa.net>
In-Reply-To: <200306070318.18920.john@jnielsen.net>
References:  <200306070318.18920.john@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 7 Jun 2003 03:18:18 -0600
John Nielsen <john@jnielsen.net> wrote:

> I just submitted a PR for a bug I noticed in the dhclient script.  Namely, 
> it ignores the setting of dhcp_program from rc.conf.  A one-line fix did 
> the trick for me, although there may be ramifications I'm not aware of.
> 

hmm it looks like the bug is actually our name for the program. In the new rc
system there is glue code that automagically overides the command. But in order
for it to work the variable has to be named a certain way in rc.conf. In this
case the variable name is dhcp_program, but what it should really be is
dhclient_program.

This is another variable we're going to have to deprecate.
Thanks for reporting this!

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm@FreeBSD.Org| FreeBSD - The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030607100137.QOSI20032.out005.verizon.net>