aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/snort/snort.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index cf2e5fbc..681d0568 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -199,6 +199,8 @@ function snort_deinstall() {
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`");
+ exec("/usr/bin/killall -9 snort");
+ exec("/usr/bin/killall snort");
}
function generate_snort_conf() {