On Wed, May 15, 2002 at 10:56:58AM +0200, Chris Halls wrote: > On Tue, May 14, 2002 at 03:06:15PM +0100, Graeme Mathieson wrote: > > Description : Bring up or down Ethernet interfaces upon change of MII > > link state > > This looks useful. I don't know what you were planning on doing with the > events generated by miid, but I wonder if you would consider providing some > sort of event.d directory like apmd does, perhaps using run-parts to call > each script with two parameters: up|down and <interface>.
I'm planning to (and, in fact, currently do on my own laptop) just run `/sbin/ifup <dev>` when link state is first detected and `/sbin/ifdown <dev>` when it disappears. It does all the hard work for me. :-) Including if-up.d and if-down.d which I guess is what you're looking for? Thanks for the positive feedback. -- [EMAIL PROTECTED] http://www.wossname.org.uk/~mathie/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]