Re: Script to check whether modem telephone line in use --- how?
John Hasler wrote:
> Robert V. MacQuarrie writes:
> > Put this is /usr/local/bin and call it ispon It isnt anything
> > fancy but it should work for you until ppp's maintainer, Philip Hands, has
> > time to maybe add a check into ppp itself. when run it'll simply tell you
> > if pppd is or isn't running.
>
> pppd already locks the serial port.
> --
> John Hasler
> john@dhh.gt.org (John Hasler)
> Dancing Horse Hill
> Elmwood, WI
But isn't this the case only if the provider (or whatever) file directly references
the serial port rather than a symlink like /dev/modem?
Reply to: