diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-10-26 21:19:35 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-10-26 21:19:35 +0000 |
commit | a563efd57213a312e3a5611da0b09c52612b2026 (patch) | |
tree | 95ddaaa7ada06f3825bd3294746deec93e1124e6 /packages/snort | |
parent | 8196f330ab77f4db7d88191ab852aa665345e929 (diff) | |
download | pfsense-packages-a563efd57213a312e3a5611da0b09c52612b2026.tar.gz pfsense-packages-a563efd57213a312e3a5611da0b09c52612b2026.tar.bz2 pfsense-packages-a563efd57213a312e3a5611da0b09c52612b2026.zip |
s/SnortMemory/SnortStartup/
Diffstat (limited to 'packages/snort')
-rw-r--r-- | packages/snort/snort.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index 933f0540..81957c2e 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -109,7 +109,7 @@ function sync_package_snort() { /* write out rc.d start/stop file */ write_rcfile(array( "file" => "snort.sh", - "start" => "BEFORE_MEM=`top | grep Free | grep Wired | awk '{print \$10}'`\n{$start}\nsleep 17\nAFTER_MEM=`top | grep Free | grep Wired | awk '{print $10}'`\necho \"Ram usage BEFORE starting Snort: \${BEFORE_MEM} -- Ram usage AFTER starting Snort: \${AFTER_MEM}\"| logger -p daemon.info -i -t SnortMemory", + "start" => "BEFORE_MEM=`top | grep Free | grep Wired | awk '{print \$10}'`\n{$start}\nsleep 17\nAFTER_MEM=`top | grep Free | grep Wired | awk '{print $10}'`\necho \"Ram usage BEFORE starting Snort: \${BEFORE_MEM} -- Ram usage AFTER starting Snort: \${AFTER_MEM}\"| logger -p daemon.info -i -t SnortStartup", "stop" => "/usr/bin/killall snort; killall snort2c" ) ); |