summaryrefslogtreecommitdiffstats
path: root/etc/daily
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1996-10-19 21:03:23 +0000
committeralex <alex@FreeBSD.org>1996-10-19 21:03:23 +0000
commit790bf7566814c77d29e7119941c828db2c542ad9 (patch)
tree8afda4a3a55044c534ef4f11c21d0bf6a0a5f373 /etc/daily
parentf1cbbed9f107041c046a45f3957d66ed84f89fc5 (diff)
downloadFreeBSD-src-790bf7566814c77d29e7119941c828db2c542ad9.zip
FreeBSD-src-790bf7566814c77d29e7119941c828db2c542ad9.tar.gz
If /etc/daily.local is present, run it just before the security check.
Closes PR#1822. Submitted by: John-Mark Gurney <jmg@nike.efn.org> (w/some changes)
Diffstat (limited to 'etc/daily')
-rw-r--r--etc/daily5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/daily b/etc/daily
index 1f56ce4..88bd72c 100644
--- a/etc/daily
+++ b/etc/daily
@@ -164,4 +164,9 @@ if [ -f /etc/Distfile ]; then
rdist -f /etc/Distfile
fi
+if [ -f /etc/daily.local ]; then
+ echo "Running daily.local:"
+ sh /etc/daily.local
+fi
+
sh /etc/security 2>&1 | sendmail root
OpenPOWER on IntegriCloud