You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
if [[ -z "${SSL_CERT_DIR}" ]] && command -v openssl &> /dev/null; then
|
|
_DIR=$(openssl version -d)
|
|
export SSL_CERT_DIR=${_DIR:13:-1}"/certs"
|
|
export SSL_CERT_FILE=${_DIR:13:-1}"/cert.pem"
|
|
fi
|
|
exec /opt/saltstack/salt/run/run run "${@:1}"
|