diff options
Diffstat (limited to 'packages/apex-pdp-package-full')
-rw-r--r-- | packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh b/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh index 3eaa25937..65cd48547 100644 --- a/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh +++ b/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh @@ -59,6 +59,16 @@ then exit fi +if [[ -f "${HOME}"/config/policy-truststore ]]; then + echo "overriding policy-truststore" + cp -f "${HOME}"/config/policy-truststore "${APEX_HOME}"/etc/ssl/ +fi + +if [[ -f "${HOME}"/config/policy-keystore ]]; then + echo "overriding policy-keystore" + cp -f "${HOME}"/config/policy-keystore "${APEX_HOME}"/etc/ssl/ +fi + if [ $(whoami) == "$APEX_USER" ] then $APEX_HOME/bin/apexApps.sh onappf $* |