mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 99-run.sh
This commit is contained in:
@@ -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"
|
bashio::log.info "OPENVPN_PROVDER set to custom, will use the openvpn file OPENVPN_CONFIG : $openvpn_config"
|
||||||
|
|
||||||
# If file found
|
# 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"
|
echo "... configured ovpn file : using $TRANSMISSION_HOME/openvpn/$openvpn_config"
|
||||||
# Copy files
|
# Copy files
|
||||||
rm -r /etc/openvpn/custom
|
rm -r /etc/openvpn/custom
|
||||||
|
|||||||
Reference in New Issue
Block a user