On Fri, 10 May 1996, Luis Francisco Gonzalez wrote: > The question is: > > Is there any way of checking whether the network is responding so that I only > run popclient when it is?
Try this: #!/bin/sh #Change ppp0 to the network device (eth0, etc.) DEVICE=ppp0 if [ -r /var/run/$DEVICE.pid ]; then popclient mail.myisp.com fi -- Run.exe First Law of the Universe: No law applies to ALL of the Universe [EMAIL PROTECTED] http://www.ntplx.net/~runexe/ Finger me for PGP key