summaryrefslogtreecommitdiffstats
path: root/etc/periodic/daily/140.clean-rwho
blob: b89a7c26ba507cfc3bc8b56d03183f0aab554f27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# $Id: 140.clean-rwho,v 1.2 1997/08/17 17:55:30 pst Exp $
#

if [ -d /var/rwho ] ; then
	echo ""
	echo "Removing stale files from /var/rwho:"

	cd /var/rwho && find . ! -name . -mtime +7 -delete
fi

OpenPOWER on IntegriCloud