From 6f0f3a47e86c37a4a3df6ffb2064542875bfefa5 Mon Sep 17 00:00:00 2001 From: Fred Date: Thu, 17 Mar 2022 12:05:08 +0000 Subject: [PATCH] Update squid/run.sh --- squid/run.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/squid/run.sh b/squid/run.sh index 46413a7..247375a 100644 --- a/squid/run.sh +++ b/squid/run.sh @@ -23,17 +23,14 @@ do sleep 1 done -# check sup once before starting -# if env sup -/run.sh +# Run sup: IN BACKGROUND +/squid/sup.sh & case $? in 1) exit 1;; 2) exit 1;; *) echo -e "Sup ok or no sup";; esac shift -# Run sup: IN BACKGROUND -/squid/sup.sh & if [ $(grep -c "\-s\ /certs" /etc/squid/squid.conf) -ne 0 ];then if [ ! -d /certs/ssl_db ]; then