aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort.inc
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-11-24 12:22:29 -0800
committerrobiscool <robrob2626@yahoo.com>2009-11-24 12:22:29 -0800
commitdc5d3683c84a74869fb36f20037204048b000040 (patch)
tree6ec2073899a40451b41e5804f0312ce22e63f4fd /config/snort-dev/snort.inc
parenta897942428ad9834f2c0732d4ed8ccd1d28a68d7 (diff)
downloadpfsense-packages-dc5d3683c84a74869fb36f20037204048b000040.tar.gz
pfsense-packages-dc5d3683c84a74869fb36f20037204048b000040.tar.bz2
pfsense-packages-dc5d3683c84a74869fb36f20037204048b000040.zip
snort-dev, add if snort is running add color disply, error checking for snort_interface_edit.php
Diffstat (limited to 'config/snort-dev/snort.inc')
-rw-r--r--config/snort-dev/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc
index 76754ee4..4e582d7a 100644
--- a/config/snort-dev/snort.inc
+++ b/config/snort-dev/snort.inc
@@ -239,7 +239,7 @@ rc_start() {
/usr/local/bin/php -f /usr/local/pkg/pf/snort_dynamic_ip_reload.php $id $if_real
/bin/kill -HUP \${snort_pid}
sleep 3
- AFTER_MEM=`/usr/bin/top | /usr/bin/grep Wired | /usr/bin/awk '{print $12}'`
+ AFTER_MEM=`/usr/bin/top | /usr/bin/grep Wired | /usr/bin/awk '{print $2}'`
/bin/cp /var/log/system.log /var/log/snort/snort_sys_$if_real.log
/bin/killall syslogd
/usr/sbin/clog -i -s 262144 /var/log/system.log