aboutsummaryrefslogtreecommitdiffstats
path: root/config/vnstat2
diff options
context:
space:
mode:
authorPerry Mason <crazypark2@yahoo.dk>2011-01-06 01:32:58 +0100
committerPerry Mason <crazypark2@yahoo.dk>2011-01-06 01:32:58 +0100
commitb25c8ad50649635a4e35084b2dd31006d4eadad1 (patch)
tree4a3b8f7153c8c985e17fa7e1a7e37ba199e48ba0 /config/vnstat2
parent14cc86c7763da7759d06d8153ebb97234ff736fc (diff)
downloadpfsense-packages-b25c8ad50649635a4e35084b2dd31006d4eadad1.tar.gz
pfsense-packages-b25c8ad50649635a4e35084b2dd31006d4eadad1.tar.bz2
pfsense-packages-b25c8ad50649635a4e35084b2dd31006d4eadad1.zip
[vnstat2] Don't forget write_config
Diffstat (limited to 'config/vnstat2')
-rw-r--r--config/vnstat2/vnstat2.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/vnstat2/vnstat2.inc b/config/vnstat2/vnstat2.inc
index 896dfd92..c538046b 100644
--- a/config/vnstat2/vnstat2.inc
+++ b/config/vnstat2/vnstat2.inc
@@ -130,6 +130,7 @@ function create_vnstati_image() {
exec("/usr/local/bin/vnstati -i ". $ifaces_final ." -m -o /tmp/newpicture2.png");
exec("/usr/local/bin/vnstati -i ". $ifaces_final ." -d -o /tmp/newpicture3.png");
exec("/usr/local/bin/vnstati -i ". $ifaces_final ." -t -o /tmp/newpicture4.png");
+ write_config();
conf_mount_ro();
}