freebsd-dev/etc/periodic/daily/340.uucp
Bill Fumerola 0a54a0549a UUCP Cleanup should be done by the UUCP user.
PR:		bin/7749
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-01-01 21:07:39 +00:00

15 lines
319 B
Bash
Executable File

#!/bin/sh
#
# $Id: 340.uucp,v 1.2 1997/08/17 17:55:32 pst Exp $
#
# 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