summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>1996-10-19 21:52:16 +0000
committerAlexander Langer <alex@FreeBSD.org>1996-10-19 21:52:16 +0000
commit8ba20cc4bcc3355e0968e6b651ba699ff21c75da (patch)
tree1c73b3f31cc6f64090cff2d866796e0db885973e
parent8b07755b312bf25eb6e760debaf33197d3b4e01c (diff)
Notes
-rw-r--r--etc/monthly6
-rw-r--r--etc/weekly8
2 files changed, 13 insertions, 1 deletions
diff --git a/etc/monthly b/etc/monthly
index b96bb38a780c..142250e99ef0 100644
--- a/etc/monthly
+++ b/etc/monthly
@@ -10,3 +10,9 @@ echo "Subject: $host monthly run output"
echo ""
echo "Doing login accounting:"
ac -p | sort -nr +1
+
+if [ -f /etc/monthly.local ]; then
+ echo ""
+ echo "Running monthly.local:"
+ sh /etc/monthly.local
+fi
diff --git a/etc/weekly b/etc/weekly
index 3c32b5622dee..e201059d3f29 100644
--- a/etc/weekly
+++ b/etc/weekly
@@ -1,7 +1,7 @@
#!/bin/sh -
#
# @(#)weekly 5.14 (Berkeley) 6/23/91
-# $Id: weekly,v 1.15 1996/05/13 22:05:10 wosch Exp $
+# $Id: weekly,v 1.16 1996/05/18 20:30:04 nate Exp $
PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
export PATH
@@ -65,3 +65,9 @@ echo "Cleaning up kernel database files:"
kernel=`sysctl -n kern.bootfile`
kernel=kvm_`basename ${kernel}`.db
find /var/db -name "kvm_*.db" -a ! -name ${kernel} -a -atime +7 -exec rm -f -- {} \;
+
+if [ -f /etc/weekly.local ]; then
+ echo ""
+ echo "Running weekly.local:"
+ sh /etc/weekly.local
+fi