blob: 36468414282fafb5f0487b7edc2640483a38c4df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}
|