diff options
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']; |