diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 08:22:01 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-04 08:22:01 +0000 |
commit | 7195637dbcf514bf316090683406cea4266d4933 (patch) | |
tree | 4cd401d91f102d7e4703363a382893373da6c22a /packages/bandwidthd/bandwidthd.inc | |
parent | 5d509ba4ce99622b30c3bdd1072deca6f08c4e3d (diff) | |
download | pfsense-packages-7195637dbcf514bf316090683406cea4266d4933.tar.gz pfsense-packages-7195637dbcf514bf316090683406cea4266d4933.tar.bz2 pfsense-packages-7195637dbcf514bf316090683406cea4266d4933.zip |
Deinstall.
Diffstat (limited to 'packages/bandwidthd/bandwidthd.inc')
-rw-r--r-- | packages/bandwidthd/bandwidthd.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/bandwidthd/bandwidthd.inc b/packages/bandwidthd/bandwidthd.inc index f281526f..947a24a8 100644 --- a/packages/bandwidthd/bandwidthd.inc +++ b/packages/bandwidthd/bandwidthd.inc @@ -28,6 +28,12 @@ POSSIBILITY OF SUCH DAMAGE. */ +function bandwidthd_install_deinstall() { + exec("cd /var/db/pkg/ && pkg_delete `ls | grep bandwidthd`"); + exec("rm /usr/local/etc/rc.d/bandwidthd*"); + exec("rm -rf /usr/local/bandwidthd*"); +} + function bandwidthd_install_config() { $meta_refresh = $config['installedpackages']['bandwidthd']['config'][0]['metarefresh']; |