From owner-freebsd-bugs Wed Oct 16 02:40:11 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA00891 for bugs-outgoing; Wed, 16 Oct 1996 02:40:11 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA00849; Wed, 16 Oct 1996 02:40:05 -0700 (PDT) Resent-Date: Wed, 16 Oct 1996 02:40:05 -0700 (PDT) Resent-Message-Id: <199610160940.CAA00849@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jmg@nike.efn.org 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 ; 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 Reply-To: jmg@nike.efn.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/1822: no easy way to add your own default daily (sorta) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 16 02:40:04 PDT 1996 >Last-Modified: >Originator: John-Mark Gurney >Organization: Cu Networking >Release: FreeBSD 2.2-960801-SNAP i386 >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 >Audit-Trail: >Unformatted: