summaryrefslogtreecommitdiffstats
path: root/etc/periodic/daily/340.uucp
blob: 3ee830440f51b40728262caf8a35fc2731238cf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# $FreeBSD$
#
# Local cleanup of UUCP files.  This is for backwards compatibility,
# /etc/uuclean.daily doesn't exist by default.
#
if [ -d /var/spool/uucp -a -f /etc/uuclean.daily ]; then
	echo ""
	echo "Cleaning up UUCP:"

	echo /etc/uuclean.daily | su -m uucp
fi

OpenPOWER on IntegriCloud