Update 99-run.sh

This commit is contained in:
Alexandre
2022-11-12 08:59:19 +01:00
committed by GitHub
parent 7824e21cc2
commit c43af7d9ee

View File

@@ -93,7 +93,7 @@ if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then
fi
# Copy ovpn file
sed -i "s|config_repo_temp_dir=\$(mktemp -d)|config_repo_temp_dir=/tmp2|g" /etc/openvpn/fetch-external-configs.sh
sed -i "s|config_repo_temp_dir=\$(mktemp -d)|config_repo_temp_dir=/tmp/tmp2|g" /etc/openvpn/fetch-external-configs.sh
echo "Copying ovpn file to proper location"
mkdir -p /etc/openvpn/"$OPENVPN_PROVIDER"
mkdir -p /tmp/tmp2/openvpn/"$OPENVPN_PROVIDER"