Cleaned entrypoint.sh

This commit is contained in:
Quentin McGaw
2019-08-31 20:27:33 -04:00
parent 105637192f
commit 856234c02c

View File

@@ -121,6 +121,7 @@ fi
printf "Local network parameters:\n" printf "Local network parameters:\n"
printf " * Extra subnets: $EXTRA_SUBNETS\n" printf " * Extra subnets: $EXTRA_SUBNETS\n"
printf " * Web proxy activated: $PROXY\n" printf " * Web proxy activated: $PROXY\n"
if [ "$PROXY" = "on" ]; then
printf " * Web proxy port: $PROXY_PORT\n" printf " * Web proxy port: $PROXY_PORT\n"
proxy_auth=yes proxy_auth=yes
if [ -z $PROXY_USER ]; then if [ -z $PROXY_USER ]; then
@@ -128,6 +129,7 @@ if [ -z $PROXY_USER ]; then
fi fi
printf " * Web proxy has authentication: $proxy_auth\n" printf " * Web proxy has authentication: $proxy_auth\n"
unset -v proxy_auth unset -v proxy_auth
fi
printf "\n" printf "\n"
##################################################### #####################################################