From 5bcb5a3aa05424898a2004f3db5b6123bb502fc0 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 10 Nov 2011 21:13:26 +0000 Subject: 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 --- config/snort/snort.inc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'config/snort') 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; -- cgit v1.2.3