aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBryan Paradis <bryan.paradis@gmail.com>2014-01-23 01:05:06 -0500
committerBryan Paradis <bryan.paradis@gmail.com>2014-01-23 01:05:06 -0500
commit6a50a095c6e3d7f5888f46d81fb8592bc284fd8e (patch)
treee4f40d2b46c83a092396077c3acb1094a8dde303 /config
parentc8e0f450685d5d5086d6b48acdc898c62df4a633 (diff)
downloadpfsense-packages-6a50a095c6e3d7f5888f46d81fb8592bc284fd8e.tar.gz
pfsense-packages-6a50a095c6e3d7f5888f46d81fb8592bc284fd8e.tar.bz2
pfsense-packages-6a50a095c6e3d7f5888f46d81fb8592bc284fd8e.zip
EOL conversion
Diffstat (limited to 'config')
-rw-r--r--config/vnstat2/vnstat2.inc2
-rw-r--r--config/vnstat2/vnstat2.sh1
-rw-r--r--config/vnstat2/vnstat2.xml1
-rw-r--r--config/vnstat2/vnstati.xml1
-rw-r--r--config/vnstat2/vnstatoutput.xml1
5 files changed, 5 insertions, 1 deletions
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 @@
<custom_php_install_command>vnstat_install_config();</custom_php_install_command>
<custom_php_deinstall_command>vnstat_install_deinstall();</custom_php_deinstall_command>
</packagegui>
+
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 @@
<custom_php_install_command>vnstat_install_config();</custom_php_install_command>
<custom_php_deinstall_command>vnstat_install_deinstall();</custom_php_deinstall_command>
</packagegui>
+
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 @@
<custom_php_install_command>vnstat_install_config();</custom_php_install_command>
<custom_php_deinstall_command>vnstat_install_deinstall();</custom_php_deinstall_command>
</packagegui>
+