diff options
author | James Meyer <james.meyer@operamail.com> | 2009-06-17 16:52:30 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-06-17 16:52:30 (GMT) |
commit | 57e9c8d25f393eefa467cdd61de9d0f58aafabd5 (patch) | |
tree | 3d1e672f650e5a7642349f3c63963176d6933b6a /abs | |
parent | a694d2e850545e12ebbbfdedfd54978e0b085ae2 (diff) | |
download | linhes_pkgbuild-57e9c8d25f393eefa467cdd61de9d0f58aafabd5.zip linhes_pkgbuild-57e9c8d25f393eefa467cdd61de9d0f58aafabd5.tar.gz linhes_pkgbuild-57e9c8d25f393eefa467cdd61de9d0f58aafabd5.tar.bz2 |
rrd_stats: fix path for iostat. Remove nas from graph.
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra-testing/rrd_stats/PKGBUILD | 2 | ||||
-rw-r--r-- | abs/extra-testing/rrd_stats/rrd_stats.install | 8 | ||||
-rw-r--r-- | abs/extra-testing/rrd_stats/rrd_stats.tgz | bin | 6625 -> 6603 bytes |
3 files changed, 9 insertions, 1 deletions
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 Binary files differindex 4e27a43..7b28be3 100644 --- a/abs/extra-testing/rrd_stats/rrd_stats.tgz +++ b/abs/extra-testing/rrd_stats/rrd_stats.tgz |