HardenedBSD/etc/periodic/daily/140.clean-rwho
1999-08-27 23:37:10 +00:00

13 lines
165 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
if [ -d /var/rwho ] ; then
echo ""
echo "Removing stale files from /var/rwho:"
cd /var/rwho && find . ! -name . -mtime +7 -delete
fi