cvs commit: src/etc network.subr

Andrey Chernov ache at
Thu Mar 29 19:58:59 UTC 2007

On Thu, Mar 29, 2007 at 03:34:45PM -0400, John Baldwin wrote:
> The change in v1.28 fixed a similar warning where you'd get something like
> /etc/rc.d/dhclient: WARNING: $background_dhclient_bge0 is not set properly
> (where bge0 is an interface name).  1.28 fixed the warning for me, but I don't 
> use background_dhclient and have none of the variables set.  Maybe Andrey is 
> seeing a warning in the non-default case when a variable is set?

I have plain DHCP and don't use background_dhclient too. I wonder why 
somebody have not see it. Look at this lines from v1.28:

background_dhclient=`get_if_var $ifn background_dhclient_IF $background_dhclient`
        if checkyesno background_dhclient; then

Since background_dhclient_fxp0="" automatically set earlier, 
background_dhclient evaluates to "" too.
Then checkyesno background_dhclient produces this warning.


More information about the cvs-src mailing list