mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-29 11:54:04 +02:00
Update 93-openvpn.sh
This commit is contained in:
@@ -54,9 +54,10 @@ if bashio::config.true 'openvpn_enabled'; then
|
|||||||
else
|
else
|
||||||
# Ensure no redirection by removing the direction tag
|
# Ensure no redirection by removing the direction tag
|
||||||
bashio::log.info "Direct connection without VPN enabled"
|
bashio::log.info "Direct connection without VPN enabled"
|
||||||
sed -i '/PortRangeMin/d' $QBT_CONFIG_FILE
|
cd /config/qBittorrent/
|
||||||
sed -i '/Interface/d' $QBT_CONFIG_FILE
|
sed -i '/PortRangeMin/d' qBittorrent.conf
|
||||||
sed -i "$LINE i\Connection\\\Interface=" $QBT_CONFIG_FILE
|
sed -i '/Interface/d' qBittorrent.conf
|
||||||
sed -i "$LINE i\Connection\\\InterfaceAddress=" $QBT_CONFIG_FILE
|
sed -i "$LINE i\Connection\\\Interface=" qBittorrent.conf
|
||||||
sed -i "$LINE i\Connection\\\InterfaceName=" $QBT_CONFIG_FILE
|
sed -i "$LINE i\Connection\\\InterfaceAddress=" qBittorrent.conf
|
||||||
|
sed -i "$LINE i\Connection\\\InterfaceName=" qBittorrent.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user