Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2015 21:35:06 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r292841 - stable/10/etc/defaults
Message-ID:  <201512282135.tBSLZ6cC053520@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Mon Dec 28 21:35:06 2015
New Revision: 292841
URL: https://svnweb.freebsd.org/changeset/base/292841

Log:
  MFC r290515: periodic: Fix backwards compatibility for
  daily_status_security_* vars.
  
  Most daily_status_security_* variables in periodic.conf were changed to
  security_status_* in SVN r254974. The compatibility code for the old names
  did not work.
  
  PR:		204331
  Submitted by:	martin at lispworks.com

Modified:
  stable/10/etc/defaults/periodic.conf
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/defaults/periodic.conf
==============================================================================
--- stable/10/etc/defaults/periodic.conf	Mon Dec 28 20:24:08 2015	(r292840)
+++ stable/10/etc/defaults/periodic.conf	Mon Dec 28 21:35:06 2015	(r292841)
@@ -319,8 +319,8 @@ if [ -z "${source_periodic_confs_defined
 		    "use \$$var instead." >&2
 		case "$value" in
 		[Yy][Ee][Ss])
-			$var=YES
-			$periodvar=daily
+			eval $var=YES
+			eval $periodvar=daily
 			;;
 		*)
 			eval $var=\"$value\"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512282135.tBSLZ6cC053520>