> At 15:10 99-09-01 , Jarmo Paavilainen wrote:
> > > Here is what I want to do.  I want to have a command that will force
> > > down my diald link.  There are times when I am done on the internet and
> > > want to use the phone right away.  Are there any examples of scripts out
> > > there that will issue the proper diald-control commands to do this?
> >

I don't know if this needs any particular configuration, but 
diald includes a named pipe that can accept commands, e.g.,

    $ echo force > /var/run/diald.ctl

should force the link up, and,

    $ echo block > /var/run/diald.ctl

should block it (down).  Other commands are 'up' and 'down'.

On my system I do have to chmod and chgrp the control file 
(named pipe) so that I have permission to send these commands.
I've written some simple scripts so that I instead just 
type 

    $ diald force
    $ diald block

where the diald script sends the command to the named pipe.

Ken

-- 
Ken Irving
[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