aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-11-10 21:13:26 +0000
committerErmal <eri@pfsense.org>2011-11-10 21:13:26 +0000
commit5bcb5a3aa05424898a2004f3db5b6123bb502fc0 (patch)
tree773b284b9a27217ea55ac31590b267ca7b9ee182 /config/snort
parentd522ae459e7bb4b795f766ac9e8ba0dd06ec1195 (diff)
downloadpfsense-packages-5bcb5a3aa05424898a2004f3db5b6123bb502fc0.tar.gz
pfsense-packages-5bcb5a3aa05424898a2004f3db5b6123bb502fc0.tar.bz2
pfsense-packages-5bcb5a3aa05424898a2004f3db5b6123bb502fc0.zip
Remove this not needed code anymore since snort is able to recover itself just that the configure option was not the right one. Ticket #1982
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index f781e4f1..39ff6aa9 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -1276,14 +1276,6 @@ if [ "`/bin/ps -auwx | /usr/bin/grep -v grep | /usr/bin/grep "R {$snort_uuid}" |
#### Restart Iface
/bin/kill -HUP \${snort_pid}
/usr/bin/logger -p daemon.info -i -t SnortStartup "Snort Soft Reload For {$snort_uuid}_{$if_real}..."
-
- # XXX: Do not remove this since snort apparenty needs some time to startup!
- sleep 5
-
- #### If on Fake start snort is NOT running DO a real start.
- if [ "`/bin/ps -auwx | /usr/bin/grep "R {$snort_uuid}" | | /usr/bin/grep -v grep | /usr/bin/awk '{print $2;}'`" = "" ]; then
- rc_start_real
- fi
fi
EOE;