On Sat, 20 Feb 1999, ^Mr^ wrote:
> how can i get gtkicq to start when i connect to the internet ..
> the problem is that if i'm not connected to the internet and i run
> gtkicq , it'll give an error that i'm not connected and exit .
Because you say you might launch it when the inet connection isn't
up try launching it with a script like:
#!/bin/sh
while ! /sbin/ifconfig ppp0 | /bin/grep "RUNNING" > /dev/null ; do
/bin/sleep 1
done
gtkicq
This script assumes you use ppp to connect to inet. And it will
check every second if the ppp connection is up and running. Than it will
launch your application.
Raider
--
``Liberate tu-temet ex inferis''