Alternative mode by default

This commit is contained in:
Alexandre
2022-01-19 06:36:24 +01:00
committed by GitHub
parent 672d40ab90
commit 1272d29a1b

View File

@@ -61,7 +61,7 @@ if bashio::config.true 'openvpn_enabled'; then
# ALTERNATIVE MODE #
#####################
if bashio::config.true 'openvpn_alternative_mode'; then
#if bashio::config.true 'openvpn_alternative_mode'; then
# Remove previous line and bind tun0
sed -i '/Interface/d' qBittorrent.conf
# Bind tun0
@@ -69,7 +69,7 @@ if bashio::config.true 'openvpn_enabled'; then
sed -i "$LINE i\Connection\\\InterfaceName=tun0" qBittorrent.conf
# Modify ovpn config
echo "route-nopull" >>/etc/openvpn/config.ovpn
fi
#fi
else