Update squid/run.sh
This commit is contained in:
parent
53f7d9c763
commit
6f0f3a47e8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user