--- inn-1.7.2.orig/samples/sendbatch
+++ inn-1.7.2/samples/sendbatch
@@ -7,7 +7,7 @@
 . /var/news/etc/innshellvars
 
 ##  Place to run a df, and amount of space needed.
-UUSPOOL=/usr/spool/uucp
+UUSPOOL=/var/spool/uucp
 SPOOLFREE=20000
 ##  Program names and flags.  Most can be set on the command-line.
 C7=
@@ -143,12 +143,16 @@
 
     ##  Check free space on the partition?
     if [ -n "${UUSPOOL}" ] ; then
-	FREE=`(cd ${UUSPOOL}; df . | ${AWK} '
-		$6 == "'${UUSPOOL}'" { print $4 ; exit }
-		$1 == "'${UUSPOOL}'" && NF == 7 { print $4 ; exit }
-		$2 == "'${UUSPOOL}'" { print $5 ; exit }
-		$1 == "'${UUSPOOL}'" { print $3 ; exit }
-	    ')`
+#	FREE=`(cd ${UUSPOOL}; df . | ${AWK} '
+#		$6 == "'${UUSPOOL}'" { print $4 ; exit }
+#		$1 == "'${UUSPOOL}'" && NF == 7 { print $4 ; exit }
+#		$2 == "'${UUSPOOL}'" { print $5 ; exit }
+#		$1 == "'${UUSPOOL}'" { print $3 ; exit }
+#	    ')`
+## =()<	POS=@<INNWATCH_BLOCKS>@>()=
+	POS=4
+	DOLLAR="$"
+	FREE=`${INNDF} ${UUSPOOL} | ${AWK} "/^\// { print ${DOLLAR}${POS}; exit }"`
 	if [ -n "${FREE}" -a "${FREE}" -lt ${SPOOLFREE} ] ; then
 	    echo "${PROG}:  No space on ${UUSPOOL} for ${SITE} (${FREE})."
 	    rm -f ${LOCK}
@@ -166,7 +170,7 @@
 
 	else
 	    ##  Get queue size from uuq command.
-	    QUEUE=`uuq -l -s${SITE} | ${AWK} '{print $4; exit }'`
+	    QUEUE=`uuq -l -s${SITE} 2>/dev/null | ${AWK} '{print $4; exit }'`
 	fi
 	test -z "${QUEUE}" && QUEUE=0
 	if [ "${QUEUE}" -gt ${BYTESQUEUED} ] ; then
