mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 05:14:04 +02:00
Update 93-openvpn.sh
This commit is contained in:
@@ -53,8 +53,10 @@ if bashio::config.true 'openvpn_enabled'; then
|
|||||||
cd /config/qBittorrent/ || exit 1
|
cd /config/qBittorrent/ || exit 1
|
||||||
LINE=$(sed -n '/[Preferences]/=' qBittorrent.conf)
|
LINE=$(sed -n '/[Preferences]/=' qBittorrent.conf)
|
||||||
LINE=$((LINE + 1))
|
LINE=$((LINE + 1))
|
||||||
SESSION=$(sed -n '/[BitTorrent]/=' qBittorrent.conf)
|
if [ "$SESSION" != "" ]; then
|
||||||
SESSION=$((SESSION + 1))
|
SESSION=$(sed -n '/[BitTorrent]/=' qBittorrent.conf)
|
||||||
|
SESSION=$((SESSION + 1))
|
||||||
|
fi
|
||||||
|
|
||||||
# If qBittorrent.conf exists
|
# If qBittorrent.conf exists
|
||||||
if [ -f "$QBT_CONFIG_FILE" ]; then
|
if [ -f "$QBT_CONFIG_FILE" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user