Your IP : 172.28.240.42


Current Path : /usr/lib/sysstat/
Upload File :
Current File : //usr/lib/sysstat/debian-sa1

#!/bin/sh
# vim:ts=2:et
# $Id: debian-sa1 1517 2011-03-23 09:57:54Z robert $
# Debian sa1 helper which is run from cron.d job, not to needlessly 
# fill logs (see Bug#499461).

set -e

# Global variables:
#
#  our configuration file
DEFAULT=/etc/default/sysstat
#  default setting, overriden in the above file
ENABLED=false
SA1_OPTIONS=""

# Read defaults file
if [ -r "$DEFAULT" ]; then 
  . "$DEFAULT"
fi

if [ "true" = "$ENABLED" ]; then
  exec /usr/lib/sysstat/sa1 $SA1_OPTIONS "$@"
fi

exit 0