Update squid/run.sh

This commit is contained in:
Fred 2022-03-17 12:05:08 +00:00
parent 53f7d9c763
commit 6f0f3a47e8

View File

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