From 4272de25e28efa93cce0e82989a2347984512cd9 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 26 Sep 2006 23:24:06 +0000 Subject: List lowmemory first so it gets to be the default --- packages/snort/snort.inc | 2 +- packages/snort/snort.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/snort') diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index 768078c0..bda4ea4b 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -67,7 +67,7 @@ function sync_package_snort() { /* if block offenders is checked, start snort2c */ if($_POST['blockoffenders']) - $start .= ";snort2c -w /var/db/whitelist -a /var/log/snort/alert"; + $start .= ";sleep 1;snort2c -w /var/db/whitelist -a /var/log/snort/alert"; write_rcfile(array( "file" => "snort.sh", diff --git a/packages/snort/snort.xml b/packages/snort/snort.xml index 172d6f08..f276b16e 100644 --- a/packages/snort/snort.xml +++ b/packages/snort/snort.xml @@ -73,6 +73,10 @@ performance select + - -- cgit v1.2.3