Date: Tue, 27 Aug 2013 23:32:46 +0200 From: Jeremie Le Hen <jlh@FreeBSD.org> To: Darren Pilgrim <list_freebsd@bluerosetech.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: weekly periodic security status Message-ID: <20130827213246.GS24767@caravan.chchile.org> In-Reply-To: <521BD278.80007@bluerosetech.com> References: <20130822204958.GC24767@caravan.chchile.org> <5217AD9E.1000100@bluerosetech.com> <CA%2BE3k910-BqOdDtA9sWTxVuKxtJSS02w4PSeTmM%2BJxPqNQ5Jyw@mail.gmail.com> <20130824165704.GD24767@caravan.chchile.org> <20130825110520.GJ24767@caravan.chchile.org> <521A34A2.303@bluerosetech.com> <20130825173715.GK24767@caravan.chchile.org> <521B826A.6020402@bluerosetech.com> <20130826210906.GO24767@caravan.chchile.org> <521BD278.80007@bluerosetech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Darren, On Mon, Aug 26, 2013 at 06:11:04PM -0400, Darren Pilgrim wrote: > On 8/26/2013 5:09 PM, Jeremie Le Hen wrote: > > On Mon, Aug 26, 2013 at 12:29:30PM -0400, Darren Pilgrim wrote: > >> The new framework would let me rely on the environment instead of $0, > >> which, IMO, is more reliable. I'd need to be able to tell periodic to > >> run that script with the daily, weekly and monthly security runs, though. > > > > If I understand what you say correctly, this should continue to work. > > As I understand the framework, I can only set the enable to "NO", > "daily", "weekly" or "monthly". Periodic will only run it one of the > periods. How would I set it to run in all three? How would I set to > run in only two of the three periods? > > It seems like you could add this functionality by adding stars to each > end of the case patterns in check_yesno_period. I've committed my work. Can you propose me a patch implementing what you request please? Thanks, -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130827213246.GS24767>