"J.M. \"Jersey\" Miszczyk" wrote:
> 
> Hello all :)
> 
> I am using diald with ISDN card... I am not a programmer and I wander how can I 
>check (in the script file) that the line is up?
> Something like I could check for /var/run/ppp0.pid created when diald started pppd.
> Any ideas?
> 
> Thnx :))
> "Jersey"
> 

make your ip-up.local `touch /var/run/$2-is-up` and your ip-down.local
`rm -f /var/run/$2-is-up`

good luck,
-- 
:D_ima

Dima Nemchenko
[EMAIL PROTECTED]
---------------------------------------------------------------------
"Eventually, every frog has to croak."
                                        Louis, the "Budweiser Lizard"

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to