On Mon, Dec 20, 1999 at 10:05:16PM +0200, Matan Ziv-Av wrote:
> Why don't you touch some file in the ip-up script, and have you program
> select on that file?
>
> I hope you don't use ethernet status as an indication of internet
> connection, since ethernet interfaces are usually up, whether you are
> connected to the rest of the internet or not.
I think he's trying to use ppp0 status as an indication of internet
connection (somewhat more common).
As to your first suggestion, maybe there's even a better way -- have
licq install signal handlers for e.g. SIGUSR1 and SIGUSR2, switching
it online in the former and offline in the latter, and then have the
ip-up script killall -USR1 licq and the ip-down script killall -USR2
licq. It should be pretty easy to implement, and although it won't be
very robust, it'll work.
--
Alex Shnitman | http://www.debian.org
[EMAIL PROTECTED], [EMAIL PROTECTED] +-----------------------
http://alexsh.hectic.net UIN 188956 PGP key on web page
E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
The POP3 server service depends on the SMTP server service, which
failed to start because of the following error:
The operation completed successfully.
-- Windows NT Server v3.51
PGP signature