From 57e9c8d25f393eefa467cdd61de9d0f58aafabd5 Mon Sep 17 00:00:00 2001 From: James Meyer <james.meyer@operamail.com> Date: Wed, 17 Jun 2009 11:52:30 -0500 Subject: rrd_stats: fix path for iostat. Remove nas from graph. --- abs/extra-testing/rrd_stats/PKGBUILD | 2 +- abs/extra-testing/rrd_stats/rrd_stats.install | 8 ++++++++ abs/extra-testing/rrd_stats/rrd_stats.tgz | Bin 6625 -> 6603 bytes 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/abs/extra-testing/rrd_stats/PKGBUILD b/abs/extra-testing/rrd_stats/PKGBUILD index a086380..9e52ee4 100644 --- a/abs/extra-testing/rrd_stats/PKGBUILD +++ b/abs/extra-testing/rrd_stats/PKGBUILD @@ -1,6 +1,6 @@ pkgname=rrd_stats pkgver=1 -pkgrel=12 +pkgrel=15 pkgdesc="graph system stats" arch=('i686' 'x86_64') url="" diff --git a/abs/extra-testing/rrd_stats/rrd_stats.install b/abs/extra-testing/rrd_stats/rrd_stats.install index d6aa4ed..e63b0eb 100644 --- a/abs/extra-testing/rrd_stats/rrd_stats.install +++ b/abs/extra-testing/rrd_stats/rrd_stats.install @@ -42,6 +42,14 @@ post_install() { (crontab -l; echo "$line") | crontab - fi + echo $ct | grep -q rrd_usage.pl + if [ $? != 0 ] + then + line="*/5 * * * * /usr/bin/rrd_usage.pl > /dev/null" + (crontab -l; echo "$line") | crontab - + fi + + } post_upgrade() { diff --git a/abs/extra-testing/rrd_stats/rrd_stats.tgz b/abs/extra-testing/rrd_stats/rrd_stats.tgz index 4e27a43..7b28be3 100644 Binary files a/abs/extra-testing/rrd_stats/rrd_stats.tgz and b/abs/extra-testing/rrd_stats/rrd_stats.tgz differ -- cgit v0.12