Date: Wed, 16 Oct 1996 02:38:36 -0700 (PDT) From: John-Mark Gurney <jmg@nike.efn.org> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/1822: no easy way to add your own default daily (sorta) Message-ID: <199610160938.CAA19495@nike.efn.org> Resent-Message-ID: <199610160940.CAA00849@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610160938.CAA19495>