dhclient script in rc.d doesn't use ${dhcp_program}
(conf/53007)
Mike Makonnen
mtm at identd.net
Sat Jun 7 03:01:49 PDT 2003
On Sat, 7 Jun 2003 03:18:18 -0600
John Nielsen <john at 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 at identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9
mtm at FreeBSD.Org| FreeBSD - The Power To Serve
More information about the freebsd-current
mailing list