aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-26 23:24:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-26 23:24:06 +0000
commit4272de25e28efa93cce0e82989a2347984512cd9 (patch)
treeb85ef56219621eb5414c308396e0d55cbd870a8d
parent37c6bac6856ee8e6c9c7fb108752afff9d24229d (diff)
downloadpfsense-packages-4272de25e28efa93cce0e82989a2347984512cd9.tar.gz
pfsense-packages-4272de25e28efa93cce0e82989a2347984512cd9.tar.bz2
pfsense-packages-4272de25e28efa93cce0e82989a2347984512cd9.zip
List lowmemory first so it gets to be the default
-rw-r--r--packages/snort/snort.inc2
-rw-r--r--packages/snort/snort.xml8
2 files changed, 5 insertions, 5 deletions
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
@@ -74,6 +74,10 @@
<type>select</type>
<options>
<option>
+ <value>lowmem</value>
+ <name>lowmem</name>
+ </option>
+ <option>
<value>ac-std</value>
<name>ac-std</name>
</option>
@@ -98,10 +102,6 @@
<value>acs</value>
<name>acs</name>
</option>
- <option>
- <value>lowmem</value>
- <name>lowmem</name>
- </option>
</options>
</field>
<field>