#!/bin/sh include(confFEATURES_DIR/`cfhead.m4')dnl include(confM4_DIR`/conf.default')dnl include(confSITE_DIR/`conf')dnl ifdef(`confSYSTEM_FILTER_WARNINGS_DIR', `ifelse(len(X`'confSYSTEM_FILTER_WARNINGS_DIR), `1', `', `dnl ifelse(confSYSTEM_FILTER_WARNINGS_AGE,`0',`',` warnings_dir=confSYSTEM_FILTER_WARNINGS_DIR max_age=confSYSTEM_FILTER_WARNINGS_AGE if [ ! -z "${warnings_dir}" ] && [ -d ${warnings_dir} ] ; then ## find ${warnings_dir}/ -mtime +${max_age} -type f | /usr/bin/xargs /bin/rm # find ${warnings_dir}/ -mtime +${max_age} -type f -exec rm -f {} \; find ${warnings_dir}/ -mtime +${max_age} -type f -delete fi ')dnl ifelse(confSYSTEM_FILTER_WARNINGS_AGE,`0',`',`') ')')dnl ifdef(`confSYSTEM_FILTER_WARNINGS_DIR', `ifelse(len(X`'confSYSTEM_FILTER_WARNINGS_DIR), `1', `', `')') ifdef(`confSYSTEM_FILTER_QUARANTINE_DIR', `ifelse(len(X`'confSYSTEM_FILTER_QUARANTINE_DIR), `1', `', `dnl ifelse(confSYSTEM_FILTER_QUARANTINE_AGE,`0',`',` quarantine_dir=confSYSTEM_FILTER_QUARANTINE_DIR max_age=confSYSTEM_FILTER_QUARANTINE_AGE if [ ! -z "${quarantine_dir}" ] && [ -d ${quarantine_dir} ] ; then ## find ${quarantine_dir}/ -mtime +${max_age} -type f | /usr/bin/xargs /bin/rm # find ${quarantine_dir}/ -mtime +${max_age} -type f -exec rm -f {} \; find ${quarantine_dir}/ -mtime +${max_age} -type f -delete fi ')dnl ifelse(confSYSTEM_FILTER_QUARANTINE_AGE,`0',`',`') ')')dnl ifdef(`confSYSTEM_FILTER_QUARANTINE_DIR', `ifelse(len(X`'confSYSTEM_FILTER_QUARANTINE_DIR), `1', `', `')')