Thanks to all of you who gave me advice on setting up my diald disconnect
script. I really appreciate it, and thanks to your help, I not only got a
working disconnect script but learned a little bit more about shell
scripting.
In summary, what I did was to write a simple two-line script:
#!/bin/bash
echo 'down' > /var/run/diald.fifo
I called it /etc/diald/disconnect, made it executable, and entered it in
my diald.conf as my disconnect script. In order for it to work, I also
added the line 'fifo /var/run/diald.fifo' in my diald.conf.
One thing I found out while doing this though, is that diald likes to make
its own fifo file. I first thought that I would have to create the file
myself, so I issued a 'touch /var/run/diald.fifo'. But with this file
already present and not created by diald, I kept getting errors when
starting diald. I removed the file diald.fifo, restarted diald, and now
my disconnects (at least) are running smoothly.
Thanks again to all who provided me with advice.
Cheers,
Sean
------------------
Theo. Sean Schulze
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]