freebsd-dev/etc/periodic/daily/140.clean-rwho
Paul Traina ad34f5a438 Cosmetic changes.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-08-17 17:55:45 +00:00

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