#!/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 call "${@:1}"