Hi, On Sat, May 01, 1999 at 03:18:23PM +0200, Dag-Erling Smorgrav wrote: > "Daniel C. Sobral" <d...@newsguy.com> writes: > > Dag-Erling Smorgrav wrote: > > > # Configure routing interesting code deleted ... [..] > > Looking there, it *does* seem that there is a problem. defaultrouter > > is only used to set route_default, which is *not* used. At least on > > the code you quoted. > This is getting fun :) Look closer at the first line I commented, then > at the loop, and especially the eval.
since I've stumbled over the same 'what the the hell is going on here?'-piece of shell script once upon a time, I've foreseen the further development of this after having read the first two messages. I had to set a few static routes, saw the empty 'static_routes' configuration variable and just didn't grasped "what to do know" with that variable. I considered, that there has to be some underlying 'magic' similar to the method used for the interface configuration. Despite of this cognition I had to jump head first into the rc.network script to investigate on 'how to use' the core variable (static_routes) and the supplementary variables the right way. It would be very nice, if 'somebody' (TM) would document the various 'dark magic' parts of the rc scripts. But, ... a person priviledged to setup the routing for a system (aka system administrator aka 'root') should really be able to parse 'sh'-code, shouldn't he? -Andreas -- : TSE TeleService GmbH : Gsf: Arne Reuter : : : Hovestrasse 14 : Andreas Braukmann : We do it with : : D-48351 Everswinkel : HRB: 1430, AG WAF : FreeBSD/SMP : :--------------------------------------------------------------------: : Anti-Spam Petition: http://www.politik-digital.de/spam/ : : PGP-Key: http://www.tse-online.de/~ab/public-key : : Key fingerprint: 12 13 EF BC 22 DD F4 B6 3C 25 C9 06 DC D3 45 9B : To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message