[BACK]Return to monthly CVS log [TXT][DIR] Up to [local] / src / etc

File: [local] / src / etc / monthly (download)

Revision 1.3, Sun May 26 10:25:32 1996 UTC (28 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.2: +1 -3 lines

sync & label

#!/bin/sh -
#	$OpenBSD: monthly,v 1.3 1996/05/26 10:25:32 deraadt Exp $

host=`hostname -s`
echo "Subject: $host monthly run output"

if [ -f /etc/monthly.local ];then
	echo ""
	echo "Running monthly.local:"
	. /etc/monthly.local
else
	echo "Nothing to do!"
fi

# echo ""
# echo "Doing login accounting:"
# ac -p | sort -nr +1

# Rotation of these logs now handled automatically by cron and 'newsyslog':
#	kerberos.log
#	lpd-errs
#	wtmp
#	aculog
#	cron

#echo "."