Date: Mon, 28 Oct 2013 22:17:00 +0100 From: Jeremie Le Hen <jlh@FreeBSD.org> To: Adam McDougall <mcdouga9@egr.msu.edu> Cc: Jeremie Le Hen <jlh@FreeBSD.org>, svn-src-all@freebsd.org Subject: Re: svn commit: r254974 - in head: etc/defaults etc/periodic/monthly etc/periodic/security etc/periodic/weekly share/man/man5 Message-ID: <20131028211700.GB37879@caravan.chchile.org> In-Reply-To: <20131021000110.GJ2097@egr.msu.edu> References: <201308272120.r7RLKTvk066897@svn.freebsd.org> <20131021000110.GJ2097@egr.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Adam, On Sun, Oct 20, 2013 at 08:01:10PM -0400, Adam McDougall wrote: > Thanks for working on this, I look forward to taking advantage of it! > > I have a system with some old style adjustments in periodic.conf but > the compat shim doesn't seem to be working (it is running r255793). > I filed PR conf/183137 with more details. Sorry for the late reply, I was abroad. Can you test the following patch please? Index: etc/defaults/periodic.conf =================================================================== --- etc/defaults/periodic.conf (revision 255169) +++ etc/defaults/periodic.conf (working copy) @@ -319,7 +319,7 @@ security_daily_compat_var() { local var=$1 dailyvar value - dailyvar=daily_status_security${#status_security} + dailyvar=daily_status_security${var#status_security} periodvar=${var%enable}period eval value=\"\$$dailyvar\" [ -z "$value" ] && return -- 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?20131028211700.GB37879>