Update 99-run.sh

This commit is contained in:
Alexandre
2022-11-11 18:37:01 +01:00
committed by GitHub
parent 8446aa87ed
commit 5c17e9dfad

View File

@@ -80,7 +80,7 @@ done
if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then
sed -i "s|mktemp -d|/tmp|d" /etc/openvpn/etch-external-configs.sh
sed -i "s|config_repo_temp_dir=$(mktemp -d)|config_repo_temp_dir=/tmp|g" /etc/openvpn/fetch-external-configs.sh
OVPNLOCATION="$(bashio::config "OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION")"
OPENVPN_PROVIDER="${OVPNLOCATION##*/}"