From a1a91bde95b7afc04429287beb5cbdade0d59c3c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 22 Jan 2020 20:29:54 -0800 Subject: sysstat: update to 2.2.1 Fixes CVE-2019-16167. Fixed CPE_ID. Added PKG_LICENSE_FILES. Added PKG_BUILD_PARALLEL for faster compilation. Added nls capability. Ran init script through shellcheck. Signed-off-by: Rosen Penev --- utils/sysstat/files/sysstat.init | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'utils/sysstat/files') diff --git a/utils/sysstat/files/sysstat.init b/utils/sysstat/files/sysstat.init index 9975d5ea6..e7b75e246 100755 --- a/utils/sysstat/files/sysstat.init +++ b/utils/sysstat/files/sysstat.init @@ -26,12 +26,14 @@ start_sysstat_instance() { [ -d /var/log/sysstat ] || mkdir -p /var/log/sysstat - echo "HISTORY=$log_history" > $SYSSTAT_CFG - echo "COMPRESSAFTER=$compressafter" >> $SYSSTAT_CFG - echo "SADC_OPTIONS=\"$sadc_options\"" >> $SYSSTAT_CFG - echo "SA_DIR=\"$sa_dir\"" >> $SYSSTAT_CFG - echo "ZIP=\"$zip\"" >> $SYSSTAT_CFG - echo "ENABLED=\"$enabled\"" >> $SYSSTAT_CFG + { + echo "HISTORY=$log_history" + echo "COMPRESSAFTER=$compressafter" + echo "SADC_OPTIONS=\"$sadc_options\"" + echo "SA_DIR=\"$sa_dir\"" + echo "ZIP=\"$zip\"" + echo "ENABLED=\"$enabled\"" + } > $SYSSTAT_CFG procd_open_instance procd_set_param command $PROG -S DISK -F -L - -- cgit v1.2.3