On Wed, 17 Sep 2003, Paul Jakma wrote:
> The more I think of this, the more interesting this
> DEPENDSON="<one-interface>"|"default" sounds; the latter
would be a
> general term to look up a default route (or something like that).
hmm.. but it might not be dependent on the default route - it might
be dependent on a specific route. (ie default goes via the ISP. But
your 'VPN' or other interface depends on the route for your vpn peer
to have been installed by ospfd or somesuch). very tricky really - i
dont think going by dependent interfaces is viable - never mind
routes.
In case you'd be interested of VPN or the like, you could just put a
depends-on to the VPN interface (that should be pretty static, in most
cases, I think).
The default route is a bit more special, as it's typically done using
different interfaces, sometimes ethX, ipppX, pppX, what have you..
--
Pekka Savola "You each name yourselves king, yet the
Netcore Oy kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings