Honestly, ps aux | grep `cat /var/run/ppp0.pid` | grep ppp > /dev/null && echo yes || echo no
Should give something better than that check... eh, but it requires r00t right.. :) -calvin Maid = Maid's Agreed Ideal Doctrine ----- Original Message ----- From: "Karsten M. Self" <kmself@ix.netcom.com> To: <debian-user@lists.debian.org> Sent: Thursday, August 23, 2001 11:16 AM Subject: Re: how to make exim run queue only when ppp link is up?