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