summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/rrd_stats/rrd_stats.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-17 16:52:30 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-17 16:52:30 (GMT)
commit57e9c8d25f393eefa467cdd61de9d0f58aafabd5 (patch)
tree3d1e672f650e5a7642349f3c63963176d6933b6a /abs/extra-testing/rrd_stats/rrd_stats.install
parenta694d2e850545e12ebbbfdedfd54978e0b085ae2 (diff)
downloadlinhes_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/extra-testing/rrd_stats/rrd_stats.install')
-rw-r--r--abs/extra-testing/rrd_stats/rrd_stats.install8
1 files changed, 8 insertions, 0 deletions
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() {