summaryrefslogtreecommitdiffstats
path: root/etc/periodic/daily/140.clean-rwho
blob: 71ac4ae3fe7903ea94fac9f26d51ac8f7a53b923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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

OpenPOWER on IntegriCloud