#! /bin/sh -x
# $Id: gwccheck,v 1.2 2004/07/06 20:43:42 trancetip Exp $
CACHE=$1
URL="$CACHE"'?hostfile=1&client=GTKG&version=0.94'
LOGFILE=/tmp/gwccheck.log

{
	echo BEGIN: "$CACHE";
	echo;
	curl -Z 0 -s --connect-time 8 --max-time 15 -o /dev/stdout "$URL";
	echo; 
	echo END;
	echo; 
} >> "$LOGFILE"

