On Thu, 10 Sep 1998, Paul Slootman wrote:
> > ping smarthost-at-isp
> > if [ ?$ -eq 0 ] ; then
> > exim -some-flags-which-trigger-email
> > fi
erm, how about something like
ifconfig ppp0 | fgrep UP
if [ $? -eq 0 ] ; then
....run the queue...
fi
Paul
----
* A third of our time is spent fixing things broken by others, another third *
* doing real work, and the final third breaking things others will fix *
--
*** Exim information can be found at
http://www.exim.org/ ***