aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeradius.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-23 17:18:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-23 17:18:12 +0000
commit0efa34f7de5facc2b1ab801722d2f38f8c08ec85 (patch)
treeecce34cb3c82da61c0436fe511ca7bc470e1f87f /packages/freeradius.inc
parentc0dbd950b3fa4e53f6348d7c49987461ef15f839 (diff)
downloadpfsense-packages-0efa34f7de5facc2b1ab801722d2f38f8c08ec85.tar.gz
pfsense-packages-0efa34f7de5facc2b1ab801722d2f38f8c08ec85.tar.bz2
pfsense-packages-0efa34f7de5facc2b1ab801722d2f38f8c08ec85.zip
Remove package correctly from system
Diffstat (limited to 'packages/freeradius.inc')
-rw-r--r--packages/freeradius.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/freeradius.inc b/packages/freeradius.inc
index cdc7a422..29736eca 100644
--- a/packages/freeradius.inc
+++ b/packages/freeradius.inc
@@ -4,6 +4,11 @@ require_once('service-utils.inc');
define('RADDB', '/usr/local/etc/raddb');
+function freeradius_deinstall_command() {
+ exec("cd /var/db/pkg && pkg_delete `ls | grep freeradius`");
+ exec("cd /var/db/pkg && pkg_delete `ls | grep libltdl`");
+}
+
function freeradius_install_command() {
global $config;