freebsd_amp_hwpstate/etc/periodic/daily/140.clean-rwho

13 lines
228 B
Bash
Executable File

#!/bin/sh
#
# $Id: 140.clean-rwho,v 1.1.1.1 1997/08/16 17:04:00 pst Exp $
#
if [ -d /var/rwho ] ; then
echo ""
echo "Removing stale files from /var/rwho:"
cd /var/rwho && find . ! -name . -mtime +7 -exec rm -f -- {} \;
fi