On Mon, Dec 20, 1999 at 11:47:14PM +0200, Nimrod Mesika wrote:
> 
> nimrodm:~$ cat /etc/ppp/ip-up.local
> #!/bin/sh
> echo 'status online' >/home/nimrodm/.licq/licq_fifo
> nimrodm:~$                                          
> 
> nimrodm:~$ cat /etc/ppp/ip-down.local
> #!/bin/sh
> echo 'status offline' >/home/nimrodm/.licq/licq_fifo
> nimrodm:~$      
> 
> That's how it's done for Licq ($HOME/.licq/licq_fifo is a named pipe).

What happens when licq isn't running and reading the pipe?
Unless I'm mistaken, your ip-*.local scripts would block, which
is probably not what you want.

Also, what does putting the data on a pipe get you? The process
would still have to poll the pipe, wouldn't it?

-- 
believing is seeing
[EMAIL PROTECTED]
http://www.forum2.org/gaal/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to