diff options
Diffstat (limited to 'community/vnstat/vnstat.install')
-rw-r--r-- | community/vnstat/vnstat.install | 16 |
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 +} + |