summaryrefslogtreecommitdiffstats
path: root/controlloop/packages
diff options
context:
space:
mode:
Diffstat (limited to 'controlloop/packages')
-rw-r--r--controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh b/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh
index 0c7fab9f8..8e968be50 100644
--- a/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh
+++ b/controlloop/packages/docker-controlloop/src/main/resources/docker-entrypoint.sh
@@ -25,7 +25,7 @@ function configurations {
local confName
- if ! ls "${POLICY_INSTALL_INIT}"/*.conf 2>&1; then
+ if ! ls "${POLICY_INSTALL_INIT}"/*.conf > /dev/null 2>&1; then
return 0
fi
@@ -45,7 +45,7 @@ function features {
set -x
fi
- if ! ls "${POLICY_INSTALL_INIT}"/features*.zip 2>&1; then
+ if ! ls "${POLICY_INSTALL_INIT}"/features*.zip > /dev/null 2>&1; then
return 0
fi
@@ -65,7 +65,7 @@ function scripts {
local scriptExtSuffix=${1:-"sh"}
- if ! ls "${POLICY_INSTALL_INIT}"/*."${scriptExtSuffix}" 2>&1; then
+ if ! ls "${POLICY_INSTALL_INIT}"/*."${scriptExtSuffix}" > /dev/null 2>&1; then
return 0
fi
@@ -85,12 +85,12 @@ function security {
if [[ -f "${POLICY_INSTALL_INIT}"/policy-keystore ]]; then
if ! cmp -s "${POLICY_INSTALL_INIT}"/policy-keystore "${POLICY_HOME}"/etc/ssl/policy-keystore; then
- echo "overriding policy-keystore"policy-keystore
+ echo "overriding policy-keystore"
cp -f "${POLICY_INSTALL_INIT}"/policy-keystore "${POLICY_HOME}"/etc/ssl
fi
fi
- if [[ -f ${POLICY_INSTALL_INIT}/policy-keystore ]]; then
+ if [[ -f ${POLICY_INSTALL_INIT}/policy-truststore ]]; then
if ! cmp -s "${POLICY_INSTALL_INIT}"/policy-truststore "${POLICY_HOME}"/etc/ssl/policy-truststore; then
echo "overriding policy-truststore"
cp -f "${POLICY_INSTALL_INIT}"/policy-truststore "${POLICY_HOME}"/etc/ssl
@@ -111,7 +111,7 @@ function properties {
set -x
fi
- if ! ls "${POLICY_INSTALL_INIT}"/*.properties 2>&1; then
+ if ! ls "${POLICY_INSTALL_INIT}"/*.properties > /dev/null 2>&1; then
return 0
fi