summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-01-21 19:05:26 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-01-21 19:05:26 +0000
commitba879926260b1ed7280619642c97b7fbc0a4945e (patch)
tree6e7d4ae2581801901d61a31f07300007c72634ef /net-analyzer/vnstat/files
parentStable on ppc; bug #78712. (diff)
downloadhistorical-ba879926260b1ed7280619642c97b7fbc0a4945e.tar.gz
historical-ba879926260b1ed7280619642c97b7fbc0a4945e.tar.bz2
historical-ba879926260b1ed7280619642c97b7fbc0a4945e.zip
Install cron script in /etc/cron.hourly where it belongs, as /etc/cron.d 1) is only supported by vixie, and 2) should contain system crontab entries, not bash scripts. Fixes bug 60711.
Package-Manager: portage-2.0.51-r14
Diffstat (limited to 'net-analyzer/vnstat/files')
-rw-r--r--net-analyzer/vnstat/files/vnstat.cron9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-analyzer/vnstat/files/vnstat.cron b/net-analyzer/vnstat/files/vnstat.cron
index 9315bcefc5df..690681327688 100644
--- a/net-analyzer/vnstat/files/vnstat.cron
+++ b/net-analyzer/vnstat/files/vnstat.cron
@@ -1,6 +1,9 @@
#!/bin/bash
# run vnstat if installed and at least one database exists
-if [ -x /usr/bin/vnstat ] && [ `ls /var/lib/vnstat/ | wc -l` -ge 1 ] ; then
- exec /usr/bin/vnstat -u
-fi
+
+# Uncomment the following to enable
+
+#if [ -x /usr/bin/vnstat ] && [ `ls /var/lib/vnstat/ | wc -l` -ge 1 ] ; then
+# exec /usr/bin/vnstat -u
+#fi