Richard Parsons wrote:

>telephone company about the bad grade lines I am subjected to. The AT&V1
>command tells you all the information about the telephone line quality and
>gives reasons why the carrier was dropped. To get the information, I need to
>have a trigger on when PPPD/diald have relased the modem lock.

Then I'd try the following (say the script you've already is scriptA):
- have the diald's "disconnect" script run
scriptB &
- scriptB would do:
if there is the modem lock then sleep 1 else run scriptA and exit,
and would loop for 15/20 times (diald is supposed to have unlocked the
modem after 15/20 secs the disconnect script is run).
- you could include the above logic directly into scriptA, and do
without scriptB.

-- 
[EMAIL PROTECTED]

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

Reply via email to