Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 88e3296ac9fb3f90e6c459af0ff759ba > files > 32

audit-2.3.2-1.fc18.i686.rpm

#!/bin/sh

##########
# This script can be installed to get a daily log rotation
# based on a cron job.
##########

/sbin/service auditd rotate
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
    /usr/bin/logger -t auditd "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0