aboutsummaryrefslogtreecommitdiffstats
path: root/config/vnstat2/vnstat2.sh
diff options
context:
space:
mode:
authorPerry Mason <crazypark2@yahoo.dk>2010-07-01 20:03:47 +0200
committerPerry Mason <crazypark2@yahoo.dk>2010-07-01 20:03:47 +0200
commitb5325f65866888875cfed7ed0addbe837528a3ab (patch)
tree44adf36c85ccbea12a2113432510099a8556ae95 /config/vnstat2/vnstat2.sh
parentb52165ef6d917d9400fa7d979a6770b6f1296946 (diff)
downloadpfsense-packages-b5325f65866888875cfed7ed0addbe837528a3ab.tar.gz
pfsense-packages-b5325f65866888875cfed7ed0addbe837528a3ab.tar.bz2
pfsense-packages-b5325f65866888875cfed7ed0addbe837528a3ab.zip
[vnstat2] adding bash file
Diffstat (limited to 'config/vnstat2/vnstat2.sh')
-rw-r--r--config/vnstat2/vnstat2.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/vnstat2/vnstat2.sh b/config/vnstat2/vnstat2.sh
new file mode 100644
index 00000000..05fb1136
--- /dev/null
+++ b/config/vnstat2/vnstat2.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+/etc/rc.conf_mount_rw
+/usr/local/bin/vnstat -u
+sleep 0.2
+/etc/rc.conf_mount_ro