diff options
author | Jim P <jim@pingle.org> | 2012-07-01 20:05:23 -0700 |
---|---|---|
committer | Jim P <jim@pingle.org> | 2012-07-01 20:05:23 -0700 |
commit | c967584c4197543c1148ab00e36e227195316276 (patch) | |
tree | 30653cff9bb2216a3f05739e71c66e65ff3a541b /config/snort | |
parent | afcc5592abbf903ab7c3d117972b326bdc6f3687 (diff) | |
parent | 0b80caf55cd12e5016b2353738a8d614add9142f (diff) | |
download | pfsense-packages-c967584c4197543c1148ab00e36e227195316276.tar.gz pfsense-packages-c967584c4197543c1148ab00e36e227195316276.tar.bz2 pfsense-packages-c967584c4197543c1148ab00e36e227195316276.zip |
Merge pull request #275 from uversy/master
Snort isn't detecting processes in pid file correctly - See forum http://forum.pfsense.org/index.php/topic,50758.0.html
Diffstat (limited to 'config/snort')
-rw-r--r-- | config/snort/snort.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index e3b0388b..7c27991a 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -891,7 +891,7 @@ EOE; $start_snort_iface_stop[] = <<<EOF -if [ "`/bin/pgrep -nF {$g['varrun_path']}/snort_{$if_real}{$snort_uuid}.pid`" = "0" ]; then +if [ "`/bin/pgrep -nF {$g['varrun_path']}/snort_{$if_real}{$snort_uuid}.pid`" != "0" ]; then /usr/bin/logger -p daemon.info -i -t SnortStartup "Snort HARD STOP For {$snort_uuid}_{$if_real}..." /bin/pkill -F {$g['varrun_path']}/snort_{$if_real}{$snort_uuid}.pid -a |