1#!/bin/sh 2 3# If there is a global system configuration file, suck it in. 4# 5if [ -r /etc/defaults/periodic.conf ] 6then 7 . /etc/defaults/periodic.conf 8 source_periodic_confs 9fi 10 11if [ -d /var/spool/fax ]; then 12 echo "" 13 echo "Removing scratch fax files" 14 cd /var/spool/fax && \ 15 find . -type f -name '[0-9]*.[0-9][0-9][0-9]' -mtime +7 -delete >/dev/null 2>&1; 16fi 17