freebsd-nq/etc/periodic/daily/130.clean-msgs
1999-08-27 23:37:10 +00:00

13 lines
177 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# remove system messages older than 21 days
#
if [ -d /var/msgs ] ; then
echo ""
echo "Cleaning out old system announcements:"
msgs -c
fi