diff --git a/sa2.in b/sa2.in index 0fbb9ed7..2381ce32 100644 --- a/sa2.in +++ b/sa2.in @@ -19,6 +19,7 @@ DATE=`date ${YESTERDAY} +%d` [ -r ${SYSCONFIG_DIR}/sysstat ] && . ${SYSCONFIG_DIR}/sysstat [ -d ${SA_DIR} ] || SA_DIR=@SA_DIR@ +[ -x ${ZIP} ] || ZIP="@ZIP" if [ ${HISTORY} -gt 28 ] then diff --git a/sysstat.sysconfig.in b/sysstat.sysconfig.in index 8502e411..cff7621c 100644 --- a/sysstat.sysconfig.in +++ b/sysstat.sysconfig.in @@ -15,3 +15,6 @@ SADC_OPTIONS="@COLLECT_ALL@" # Directory where sa and sar files are saved. SA_DIR=@SA_DIR@ +# Compression program to use. +ZIP="@ZIP@" +