mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-21 20:16:28 +01:00
Alternative mode by default
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user