On Thu, Mar 29, 2007 at 11:58:57PM +0400, Andrey Chernov wrote: > 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.
This is from defaults/rc.conf v1.306: dhclient_program="/sbin/dhclient" # Path to dhcp client program. dhclient_flags="" # Extra flags to pass to dhcp client. dhclient_flags_fxp0="" # Extra dhclient flags for fxp0 only background_dhclient="NO" # Start dhcp client in the background. background_dhclient_fxp0="" # Start dhcp client on fxp0 in the background. What those *_fxp0 doing here? -- http://ache.pp.ru/ _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
