squid, deleay startup during boot, for https://github.com/opnsense/core/issues/2569

This commit is contained in:
Ad Schellevis 2018-08-13 16:49:52 +02:00
parent bc3dd5afca
commit 72af231b41

View File

@ -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