diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-11 01:24:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-11 01:24:40 +0000 |
commit | 9f9d71887351f643472d2cf639f3485ed4680259 (patch) | |
tree | 77d24d43bd4e82b91c37ee05781743b14b36efaa /packages/snort | |
parent | 2a6d66b3cd8bf6c2e018134287b93420fa7b92c0 (diff) | |
download | pfsense-packages-9f9d71887351f643472d2cf639f3485ed4680259.tar.gz pfsense-packages-9f9d71887351f643472d2cf639f3485ed4680259.tar.bz2 pfsense-packages-9f9d71887351f643472d2cf639f3485ed4680259.zip |
Make sure snort is deinstalled correctly
Ticket #1252
Diffstat (limited to 'packages/snort')
-rw-r--r-- | packages/snort/snort.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index 602484f3..04ff8809 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -167,6 +167,9 @@ function snort_deinstall() { exec("/usr/bin/killall snort"); sleep(5); exec("/usr/bin/killall -9 snort"); + exec("rm -f /usr/local/etc/rc.d/snort*"); + exec("rm -rf /usr/local/etc/snort*"); + exec("cd /var/db/pkg && pkg_delete `ls | grep snort`"); } function generate_snort_conf() { |