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" <[email protected]> To: <[email protected]> Sent: Thursday, August 23, 2001 11:16 AM Subject: Re: how to make exim run queue only when ppp link is up?

