Subject: Re: /etc/ifconfig.foo enhancement
To: Jason R Thorpe <thorpej@zembu.com>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-net
Date: 01/12/2001 09:16:12
On Thu, Jan 11, 2001 at 08:28:46AM -0800, Jason R Thorpe wrote:
> On Thu, Jan 11, 2001 at 07:44:05PM +0900, Jun-ichiro itojun Hagino wrote:
>
> > the attached patch will allow two things in /etc/ifconfig.*:
> > - allow comments started by "#"
> > - allow command invocation started by "!"
>
> I think it's seriously cool. I wouldn't mind if it replaced the
> dhclient rc.d script, in fact.
>
> Perhaps we could have an rc.subr function that did the ifconfig.foo
> processing, so that a program that catches an event can run a script
> that invokes ifconfig.foo for a particular interface?
Good idea, Jason.
It's possible that we can use this for rc.d/isdnd and other
network-like scripts as well.
I'll take a look.