diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 10:11:35 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 10:11:35 +0200 |
commit | 53f108ceaf6baf31341ba1b9fba69ccfd9dee9e7 (patch) | |
tree | 9a0bf741394c7309cf5333f51b9e493b536fcea4 /config/vnstat2 | |
parent | 04abb9bc8b3a4f8cbd01e70877ebdde4fb60aa10 (diff) | |
download | pfsense-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.
Diffstat (limited to 'config/vnstat2')
-rw-r--r-- | config/vnstat2/vnstat2.inc | 2 |
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) { |