From jmg@nike.efn.org  Wed Oct 16 02:38:55 1996
Received: from nike.efn.org (resnet.uoregon.edu [128.223.170.28])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA00624
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Oct 1996 02:38:47 -0700 (PDT)
Received: (from jmg@localhost) by nike.efn.org (8.7.5/8.7.3) id CAA19495; Wed, 16 Oct 1996 02:38:36 -0700 (PDT)
Message-Id: <199610160938.CAA19495@nike.efn.org>
Date: Wed, 16 Oct 1996 02:38:36 -0700 (PDT)
From: John-Mark Gurney <jmg@nike.efn.org>
Reply-To: jmg@nike.efn.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: no easy way to add your own default daily (sorta)
X-Send-Pr-Version: 3.2

>Number:         1822
>Category:       conf
>Synopsis:       no easy way to add your own default daily (sorta)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 16 02:40:04 PDT 1996
>Closed-Date:    Sat Oct 19 14:03:26 PDT 1996
>Last-Modified:  Sat Oct 19 14:04:18 PDT 1996
>Originator:     John-Mark Gurney
>Release:        FreeBSD 2.2-960801-SNAP i386
>Organization:
Cu Networking
>Environment:

	
just a gen 2.2-0801-SNAP box, nothing special

>Description:

	
you really can't add your own daily unless you modify daily...  do the same for rc the rc.local is and slurp in daily.local if it exists...
>How-To-Repeat:

create a /etc/daily.local, nothing happens :)
	

>Fix:
	
apply this fix to /etc/daily...  yeh... I know it modifies an OLD unmodified part of the system... but I thought others might find it useful...
	

Index: daily
===================================================================
RCS file: /usr/cvs/src/etc/daily,v
retrieving revision 1.19
diff -c -r1.19 daily
*** daily	1996/06/22 13:05:19	1.19
--- daily	1996/10/16 09:30:47
***************
*** 157,160 ****
--- 157,165 ----
  	rdist -f /etc/Distfile
  fi
  
+ if [ -f /etc/daily.local ]; then
+ 	echo "running daily.local:"
+ 	/etc/daily.local
+ fi
+ 
  sh /etc/security 2>&1 | sendmail root
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Sat Oct 19 14:03:26 PDT 1996 
State-Changed-Why:  
Suggested fix added to rev 1.21 of /etc/daily. 
>Unformatted:
