diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 08:53:30 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 08:53:30 +0200 |
commit | 25f27d1ef04f35d2fdafb57aa5acfea627890e65 (patch) | |
tree | 6339d3ff3e47df0c7dda868acfe317722964714a /config/bandwidthd | |
parent | e6652b377ea0d0cd5a841ea256e2b73c06e27201 (diff) | |
download | pfsense-packages-25f27d1ef04f35d2fdafb57aa5acfea627890e65.tar.gz pfsense-packages-25f27d1ef04f35d2fdafb57aa5acfea627890e65.tar.bz2 pfsense-packages-25f27d1ef04f35d2fdafb57aa5acfea627890e65.zip |
Remove useless remount calls and other redundant stuff
These are dealt with by uninstall_package() and delete_package_xml() from pkg-utils.inc.
Diffstat (limited to 'config/bandwidthd')
-rw-r--r-- | config/bandwidthd/bandwidthd.inc | 3 |
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() { |