aboutsummaryrefslogtreecommitdiffstats
path: root/config/bandwidthd/bandwidthd.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-28 09:01:07 -0300
committerRenato Botelho <renato@netgate.com>2015-08-28 09:01:07 -0300
commit3977f59b180791156208cd6865eef5cae734f044 (patch)
tree85076ce952355cf3894a5b3f52726439445f0656 /config/bandwidthd/bandwidthd.inc
parent66dad7feacac607560844228c0cd58537bc1a994 (diff)
parent3bdbee31d112b473ce66bcd321cdcd706dc17131 (diff)
downloadpfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.gz
pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.bz2
pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.zip
Merge pull request #1024 from doktornotor/patch-4
Diffstat (limited to 'config/bandwidthd/bandwidthd.inc')
-rw-r--r--config/bandwidthd/bandwidthd.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/config/bandwidthd/bandwidthd.inc b/config/bandwidthd/bandwidthd.inc
index 9364cbbc..0029a05d 100644
--- a/config/bandwidthd/bandwidthd.inc
+++ b/config/bandwidthd/bandwidthd.inc
@@ -45,13 +45,10 @@ switch ($pfs_version) {
}
function bandwidthd_install_deinstall() {
- conf_mount_rw();
- stop_service("bandwidthd");
mwexec("/bin/rm -rf " . PKG_BANDWIDTHD_BASE . "/htdocs");
mwexec("/bin/rm -f /usr/local/www/bandwidthd");
// Remove the cron job, if it is there
install_cron_job("/bin/kill -HUP `cat /var/run/bandwidthd.pid`", false);
- conf_mount_ro();
}
function bandwidthd_install_config() {