From b098da08426accca21ed2aab9e0389a167ea7578 Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Sat, 19 Oct 1996 21:03:23 +0000 Subject: [PATCH] If /etc/daily.local is present, run it just before the security check. Closes PR#1822. Submitted by: John-Mark Gurney (w/some changes) --- etc/daily | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/daily b/etc/daily index 1f56ce424672..88bd72c6c85e 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