summaryrefslogtreecommitdiff
path: root/community/vnstat/vnstat.install
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/vnstat/vnstat.install
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/vnstat/vnstat.install')
-rw-r--r--community/vnstat/vnstat.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/vnstat/vnstat.install b/community/vnstat/vnstat.install
new file mode 100644
index 000000000..364684142
--- /dev/null
+++ b/community/vnstat/vnstat.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo '==> Testing the kernel ...'
+ /usr/bin/vnstat --testkernel
+ echo '==> Every interface you want to monitor has to be introduced to vnStat!'
+ echo '==> eg. vnstat -u -i eth0'
+ echo '==> An example of a crontab to update vnStats database every 5 minutes'
+ echo '==> has been put in /usr/share/doc/vnstat/examples/vnstat.cron'
+ echo '==> Additionally, vnstat includes a daemon which can be added to your'
+ echo '==> rc.conf to update the database.'
+ echo '==> DO NOT HAVE BOTH THE CRON AND RC SCRIPTS ACTIVE AT THE SAME TIME.'
+ echo '==>'
+ echo '==> Webbased statistics can be generated using:'
+ echo '==> /usr/share/doc/vnstat/examples/vnstat.cgi'
+ /bin/true
+}
+