mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-21 06:49:13 +02:00
Update 91-configuration.sh
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
##########
|
||||||
|
# INIT #
|
||||||
|
##########
|
||||||
|
|
||||||
# Define preferences line
|
# Define preferences line
|
||||||
cd /config/qBittorrent/
|
cd /config/qBittorrent/
|
||||||
LINE=$(sed -n '/Preferences/=' qBittorrent.conf)
|
LINE=$(sed -n '/Preferences/=' qBittorrent.conf)
|
||||||
@@ -77,5 +81,9 @@ sed -i "$LINE i\WebUI\\\AuthSubnetWhitelist=$WHITELIST" qBittorrent.conf
|
|||||||
bashio::log.info "Whitelisted subsets will not require a password : $WHITELIST"
|
bashio::log.info "Whitelisted subsets will not require a password : $WHITELIST"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
##########
|
||||||
|
# CLOSE #
|
||||||
|
##########
|
||||||
|
|
||||||
bashio::log.info "Default username/password : admin/adminadmin"
|
bashio::log.info "Default username/password : admin/adminadmin"
|
||||||
bashio::log.info "Configuration can be found in /config/qBittorrent"
|
bashio::log.info "Configuration can be found in /config/qBittorrent"
|
||||||
|
|||||||
Reference in New Issue
Block a user