Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 1999 09:15:17 -0700 (MST)
From:      John Reynolds~ <jreynold@sedona.ch.intel.com>
To:        Tony Finch <dot@dotat.at>
Cc:        stable@freebsd.org
Subject:   Re: defaultrouter variable in /etc/rc.conf -- Used?
Message-ID:  <14388.9749.806244.632721@hip186.ch.intel.com>
In-Reply-To: <E11oU2G-000IlB-00@fanf.eng.demon.net>
References:  <14388.6585.781834.681200@hip186.ch.intel.com> <E11oU2G-000IlB-00@fanf.eng.demon.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[ On Thursday, November 18, Tony Finch wrote: ]
> 
> You didn't look at the for loop closely enough.

apparently not.

> In the for loop that you quoted above, each name is taken from the
> $static_routes variable and put in $i, then the corresponding
> $route_name variable is located with the eval command and its value is
> copied to the $route_args variable whose is passed as the arguments to
> `route add`.
> 
> The "default" in $static_routes is just another name that gets
> assigned to $i, so the eval command becomes `route_args=$route_default`
> which causes the next command to be `route add default $defaultrouter`

HMMMMM. OK. I see how this was supposed to work then. Hmmmm. OK. Well, I
will go back to the stock rc.network file and check things out again. What
you say makes sense ... don't know why things "didn't work" (don't have the
output of the 'failed' initialization ... I just know it didn't work).

Thanks for the explanation!!!

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| John Reynolds               CEG, CCE, Next Generation Flows, HLA          |
| Intel Corporation      MS: CH6-210   Phone: 480-554-9092   pgr: 868-6512  |
| jreynold@sedona.ch.intel.com  http://www-aec.ch.intel.com/~jreynold/      |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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