#!/bin/sh
# Run the Smail error checking script and rotate the logfiles.
# We have to rotate the logs as root as otherwise we can't fix the
# timestamps, and so we might as well add the checkerr script here
# too.

set -e
cd /var/log/fido
savelog -c 7 -u uucp -g uucp fgatelog > /dev/null
savelog -c 7 -u uucp -g uucp ifcico.log > /dev/null
savelog -c 7 -u uucp -g uucp ifdebug.log > /dev/null
savelog -c 7 -u uucp -g uucp log-in > /dev/null
savelog -c 7 -u uucp -g uucp log-out > /dev/null
