summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/rrd_stats/rrd_stats.install
diff options
context:
space:
mode:
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() {