From 6a50a095c6e3d7f5888f46d81fb8592bc284fd8e Mon Sep 17 00:00:00 2001 From: Bryan Paradis Date: Thu, 23 Jan 2014 01:05:06 -0500 Subject: EOL conversion --- config/vnstat2/vnstat2.inc | 2 +- config/vnstat2/vnstat2.sh | 1 + config/vnstat2/vnstat2.xml | 1 + config/vnstat2/vnstati.xml | 1 + config/vnstat2/vnstatoutput.xml | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/vnstat2/vnstat2.inc b/config/vnstat2/vnstat2.inc index 64eaaa38..b200a388 100644 --- a/config/vnstat2/vnstat2.inc +++ b/config/vnstat2/vnstat2.inc @@ -2,7 +2,7 @@ function vnstat_install_deinstall() { conf_mount_rw(); global $config; -// Remove Vnstat package and files +// Remove Vnstat package and files exec("cd /var/db/pkg/ && pkg_delete `ls | grep vnstat`"); exec("rm -d -R /usr/local/www/vnstat2"); exec("rm -d -R /usr/local/www/vnstati"); diff --git a/config/vnstat2/vnstat2.sh b/config/vnstat2/vnstat2.sh index 05fb1136..54f30843 100644 --- a/config/vnstat2/vnstat2.sh +++ b/config/vnstat2/vnstat2.sh @@ -1,5 +1,6 @@ #!/bin/sh + /etc/rc.conf_mount_rw /usr/local/bin/vnstat -u sleep 0.2 diff --git a/config/vnstat2/vnstat2.xml b/config/vnstat2/vnstat2.xml index 428b0f60..049c11ca 100644 --- a/config/vnstat2/vnstat2.xml +++ b/config/vnstat2/vnstat2.xml @@ -246,3 +246,4 @@ vnstat_install_config(); vnstat_install_deinstall(); + diff --git a/config/vnstat2/vnstati.xml b/config/vnstat2/vnstati.xml index 65bcd4ba..7cd3f3be 100644 --- a/config/vnstat2/vnstati.xml +++ b/config/vnstat2/vnstati.xml @@ -54,3 +54,4 @@ vnstat_install_config(); vnstat_install_deinstall(); + diff --git a/config/vnstat2/vnstatoutput.xml b/config/vnstat2/vnstatoutput.xml index 32ac58f3..9d2e3d05 100644 --- a/config/vnstat2/vnstatoutput.xml +++ b/config/vnstat2/vnstatoutput.xml @@ -54,3 +54,4 @@ vnstat_install_config(); vnstat_install_deinstall(); + -- cgit v1.2.3