Skip to content

Commit

Permalink
Add new ZIP variable to sysstat parameters file
Browse files Browse the repository at this point in the history
Add the new ZIP variable to sysstat parameters file.
This variable contains the program used to compress data and reports
files.

Signed-off-by: Sebastien GODARD <[email protected]>
  • Loading branch information
sysstat committed Jun 8, 2014
1 parent 8eaa8c7 commit 98db454
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions sa2.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions sysstat.sysconfig.in
Original file line number Diff line number Diff line change
Expand Up @@ -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@"

0 comments on commit 98db454

Please sign in to comment.