summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2015-12-28 21:35:06 +0000
committerjilles <jilles@FreeBSD.org>2015-12-28 21:35:06 +0000
commitb079803a46b21fa20a04cbf83b39134b2a45cf02 (patch)
tree0e9ab2f5505d61c290ae8ac9fe874dbcb52db437 /etc/defaults
parentb1dd9554ee8515cbcb2ec7c1fc2473ba9e5eae51 (diff)
downloadFreeBSD-src-b079803a46b21fa20a04cbf83b39134b2a45cf02.zip
FreeBSD-src-b079803a46b21fa20a04cbf83b39134b2a45cf02.tar.gz
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
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/periodic.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/defaults/periodic.conf b/etc/defaults/periodic.conf
index 14f1a08..d97bd93 100644
--- a/etc/defaults/periodic.conf
+++ b/etc/defaults/periodic.conf
@@ -319,8 +319,8 @@ if [ -z "${source_periodic_confs_defined}" ]; then
"use \$$var instead." >&2
case "$value" in
[Yy][Ee][Ss])
- $var=YES
- $periodvar=daily
+ eval $var=YES
+ eval $periodvar=daily
;;
*)
eval $var=\"$value\"
OpenPOWER on IntegriCloud