Re: Pre-down script?



On Thu, 2006-02-16 at 22:06 +0100, Christian G�rote:
> Hi,
> 
> is there a way to use a script *before* the connection is brought down
> with the dispatcher daemon?

Not really.  How exactly are you supposed to know that the connection is
"down" before it _is_ actually down?  The only case where you can know
that is when the user switches connections when you have > 1 potentially
usable connection, which isn't that often.  Otherwise, when they pull
the cable out, or when the wireless connection to the AP drops, or when
you put the laptop to sleep, you've already lost and you're
disconnected.

What's the use-case here, what are you trying to do?

Dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]