From d4d4b2ee9a5503d682d7a7d511c17918159d41a8 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 22 Mar 2016 21:48:54 +0100 Subject: [PATCH] (proxy) missing -N when generating cache dirs, closes https://github.com/opnsense/core/issues/847 --- src/opnsense/scripts/proxy/setup.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/opnsense/scripts/proxy/setup.sh b/src/opnsense/scripts/proxy/setup.sh index d996a88b5..9b43741fc 100755 --- a/src/opnsense/scripts/proxy/setup.sh +++ b/src/opnsense/scripts/proxy/setup.sh @@ -8,11 +8,7 @@ for SQUID_DIR in ${SQUID_DIRS}; do chmod -R 750 ${SQUID_DIR} done /usr/sbin/pw groupmod proxy -m squid -/usr/local/sbin/squid -z > /dev/null 2>&1 - -# wait a moment before exit, running squid -z and squid start without time between them sometimes results in -# some vague errors. -sleep 1 +/usr/local/sbin/squid -z -N > /dev/null 2>&1 # remove ssl certificate store in case the user changed the CA if [ -f /usr/local/etc/squid/ca.pem.id ]; then