diff options
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 4ac446ff..1b49b87b 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -164,6 +164,9 @@ function snort_deinstall() { remove_text_from_file("/etc/sysctl.conf", "sysctl net.bpf.bufsize=20480"); /* decrease bpf buffers back to 4096, from 20480 */ exec("/sbin/sysctl net.bpf.bufsize=4096"); + exec("/usr/bin/killall snort"); + sleep(5); + exec("/usr/bin/killall -9 snort"); } function generate_snort_conf() { |