From 72af231b41403447c682dc9337301ebde786a168 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 13 Aug 2018 16:49:52 +0200 Subject: [PATCH] squid, deleay startup during boot, for https://github.com/opnsense/core/issues/2569 --- src/opnsense/scripts/proxy/setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/opnsense/scripts/proxy/setup.sh b/src/opnsense/scripts/proxy/setup.sh index 9b43741fc..0ac95e624 100755 --- a/src/opnsense/scripts/proxy/setup.sh +++ b/src/opnsense/scripts/proxy/setup.sh @@ -37,3 +37,8 @@ fi # generate SSL bump certificate /usr/local/opnsense/scripts/proxy/generate_cert.php > /dev/null 2>&1 + +# on bootup, wait some time before executing squid. For some reason ipfw might interfere with squid startup +if [ -f /var/run/booting ]; then + sleep 2 +fi