#!/bin/sh
#
if [ -d /var/spool/fax ]; then
	filecount="`find /var/spool/fax -type f 2>/dev/null | wc -l`"
	if [ $filecount -eq 0 ]; then
		echo "Removing empty fax spool directories..."
		rm -r /var/spool/fax
	fi
fi
