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

Re: [leafnode-list] delaybody configurability

On Sun, 16 Jan 2000, Dave Sherohman wrote:
> Given that, so far as I know, diald doesn't report whether it was able to
> create a successful connection or not, I have no way of automatically
> handling this problem.  (And I know I'm not the only one who has it - just
> this morning, I say someone else with the same problem in
> comp.os.linux.networking.)

Wouldn't it be possible to make the execution of a command ( i.e., running
fetchnews ) dependant on the string "ppp0" being part of the output of
"ifconfig", that way it'll run if the ppp connection is up, it won't run
if the connection is down.

I could probably hack together something very, very dodgy in a shell
script to do this - but presumably there's something more elegant ( based
on the code returned from "ifconfig | grep ppp" perhaps? ).

Nick Drage, helping fill up the internet since 1993.

ERROR - the license on your tagline generator has expired.

leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list