summaryrefslogtreecommitdiffstats
path: root/vnstat/vnstat.install
diff options
context:
space:
mode:
Diffstat (limited to 'vnstat/vnstat.install')
-rw-r--r--vnstat/vnstat.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/vnstat/vnstat.install b/vnstat/vnstat.install
new file mode 100644
index 0000000..f9c2258
--- /dev/null
+++ b/vnstat/vnstat.install
@@ -0,0 +1,9 @@
+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 /etc/cron.d/vnstat'
+ /bin/true
+}