Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 2015 22:06:49 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290515 - head/etc/defaults
Message-ID:  <201511072206.tA7M6nI1000152@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Sat Nov  7 22:06:49 2015
New Revision: 290515
URL: https://svnweb.freebsd.org/changeset/base/290515

Log:
  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
  MFC after:	1 week

Modified:
  head/etc/defaults/periodic.conf

Modified: head/etc/defaults/periodic.conf
==============================================================================
--- head/etc/defaults/periodic.conf	Sat Nov  7 21:07:40 2015	(r290514)
+++ head/etc/defaults/periodic.conf	Sat Nov  7 22:06:49 2015	(r290515)
@@ -311,8 +311,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?201511072206.tA7M6nI1000152>