mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-25 10:11:53 +02:00
Update 93-openvpn.sh
This commit is contained in:
@@ -74,6 +74,9 @@ if bashio::config.true 'openvpn_enabled'; then
|
|||||||
LINE=$((LINE + 1))
|
LINE=$((LINE + 1))
|
||||||
SESSION=$(sed -n '/BitTorrent/=' "$QBT_CONFIG_FILE")
|
SESSION=$(sed -n '/BitTorrent/=' "$QBT_CONFIG_FILE")
|
||||||
|
|
||||||
|
# Get current ip
|
||||||
|
echo "$(curl -s ipecho.net/plain)" > /currentip2
|
||||||
|
|
||||||
# If qBittorrent.conf exists
|
# If qBittorrent.conf exists
|
||||||
if [ -f "$QBT_CONFIG_FILE" ]; then
|
if [ -f "$QBT_CONFIG_FILE" ]; then
|
||||||
# Remove previous line and bind tun0
|
# Remove previous line and bind tun0
|
||||||
|
|||||||
Reference in New Issue
Block a user