aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-25 10:11:35 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-25 10:11:35 +0200
commit53f108ceaf6baf31341ba1b9fba69ccfd9dee9e7 (patch)
tree9a0bf741394c7309cf5333f51b9e493b536fcea4
parent04abb9bc8b3a4f8cbd01e70877ebdde4fb60aa10 (diff)
downloadpfsense-packages-53f108ceaf6baf31341ba1b9fba69ccfd9dee9e7.tar.gz
pfsense-packages-53f108ceaf6baf31341ba1b9fba69ccfd9dee9e7.tar.bz2
pfsense-packages-53f108ceaf6baf31341ba1b9fba69ccfd9dee9e7.zip
Remove useless remount calls
These are dealt with by uninstall_package() from pkg-utils.inc.
-rw-r--r--config/vnstat2/vnstat2.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/vnstat2/vnstat2.inc b/config/vnstat2/vnstat2.inc
index 89a8b7c2..86a95346 100644
--- a/config/vnstat2/vnstat2.inc
+++ b/config/vnstat2/vnstat2.inc
@@ -30,7 +30,6 @@
require_once("util.inc");
function vnstat_install_deinstall() {
- conf_mount_rw();
global $config;
// Remove Vnstat package and files
exec("/bin/rm -d -R /usr/local/www/vnstat2");
@@ -39,7 +38,6 @@ function vnstat_install_deinstall() {
exec("/bin/rm /usr/local/etc/vnstat.conf");
// Remove vnstat cron entry from config.xml
vnstat2_install_cron(false);
- conf_mount_ro();
}
function vnstat2_install_cron($vnstat_cron_value) {