~ubuntu-branches/ubuntu/raring/sysstat/raring

« back to all changes in this revision

Viewing changes to sa1.in

  • Committer: Bazaar Package Importer
  • Author(s): Dave Walker (Daviey)
  • Date: 2011-02-09 17:10:56 UTC
  • mfrom: (1.1.19 upstream) (2.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110209171056-ep8aecyxtppsrbnf
Tags: 9.1.7-2ubuntu1
* debian/patches/cflags-ordering.patch: Re-arrange CFLAGS in 
  ./Makefile.in to resolve FTBFS. (LP: #716043)
* debian/control: Updated maintainer, as per policy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#@(#) sa1: Collect and store binary data in system activity data file.
7
7
#
8
8
HISTORY=0
 
9
SADC_OPTIONS=""
9
10
SYSCONFIG_DIR=@SYSCONFIG_DIR@
10
11
[ -r ${SYSCONFIG_DIR}/sysstat ] && . ${SYSCONFIG_DIR}/sysstat
11
12
if [ ${HISTORY} -gt 28 ]
38
39
# Note: Stats are written at the end of previous file *and* at the
39
40
# beginning of the new one (when there is a file rotation) only if
40
41
# outfile has been specified as '-' on the command line...
41
 
        exec ${ENDIR}/sadc -F -L 1 1 -
 
42
        exec ${ENDIR}/sadc -F -L ${SADC_OPTIONS} 1 1 -
42
43
else
43
 
        exec ${ENDIR}/sadc -F -L $* -
 
44
        exec ${ENDIR}/sadc -F -L ${SADC_OPTIONS} $* -
44
45
fi
45
46