From cecd19f0a2843d104465b792018c005d113b5ed5 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 9 Nov 2011 18:19:22 +0000 Subject: Add a little pause after reload so we are sure the reload process creates the new snort process and passes latest checks in code. This according to: http://forum.pfsense.org/index.php/topic,41533.msg221183.html#msg221183 --- config/snort/snort.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 3eaaabaa..33e6cb97 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -1334,6 +1334,9 @@ rc_start() { /bin/rm /tmp/snort.sh.pid + # XXX: Do not remove this since snort apparenty needs some time to startup! + sleep 10 + #### If on Fake start snort is NOT running DO a real start. if [ "`/bin/ps -auwx | grep -v grep | grep "R {$snort_uuid}" | awk '{print $2;}'`" = "" ]; then -- cgit v1.2.3