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

Re: how to find out pppd's exit status?

> else? I thought I could start writing information to a file as soon
> as I'd find out about pppd's status: if it got a busy-signal or
> anything else, no information would be written to the file. Can I do
> it in a script?

Try parsing the end of /var/log/ppp-connect-errors and/or
/var/log/syslog. Daemons will typically report their status in
/var/log/syslog, and some other logfiles, depending on your syslogd

Good luck,


PS: Please CC me on replies, as I'm not subscribed.

Reply to: