Update 99-run.sh

This commit is contained in:
Alexandre
2023-12-29 13:54:53 +01:00
committed by GitHub
parent 73c3b55e5b
commit 04c01f64a3

View File

@@ -124,7 +124,7 @@ if [ "$(bashio::config "OPENVPN_PROVIDER")" == "custom" ]; then
bashio::log.info "OPENVPN_PROVDER set to custom, will use the openvpn file OPENVPN_CONFIG : $openvpn_config"
# If file found
if [ -f /config/openvpn/"$openvpn_config" ]; then
if [ -f $TRANSMISSION_HOME/openvpn/"$openvpn_config" ]; then
echo "... configured ovpn file : using $TRANSMISSION_HOME/openvpn/$openvpn_config"
# Copy files
rm -r /etc/openvpn/custom