diff options
author | Ermal <eri@pfsense.org> | 2011-11-09 18:19:22 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-11-09 18:19:22 +0000 |
commit | cecd19f0a2843d104465b792018c005d113b5ed5 (patch) | |
tree | 1d6beef92439ee99d68fbfad0b088cdf8756a6c7 /config | |
parent | 565678deb87f2b3681d18ebb2c06f7531f31508b (diff) | |
download | pfsense-packages-cecd19f0a2843d104465b792018c005d113b5ed5.tar.gz pfsense-packages-cecd19f0a2843d104465b792018c005d113b5ed5.tar.bz2 pfsense-packages-cecd19f0a2843d104465b792018c005d113b5ed5.zip |
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
Diffstat (limited to 'config')
-rw-r--r-- | config/snort/snort.inc | 3 |
1 files changed, 3 insertions, 0 deletions
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 |