Update 19-transmission-configuration.sh

This commit is contained in:
Alexandre
2021-10-30 21:43:27 +02:00
committed by GitHub
parent 724278e08f
commit 83704d6e6f

View File

@@ -58,3 +58,14 @@ CONFIG=$(bashio::jq "${CONFIG}" ".\"rpc-host-whitelist-enabled\"=false")
CONFIG=$(bashio::jq "${CONFIG}" ".\"bind-address-ipv4\"=\"0.0.0.0\"")
echo "${CONFIG}" > /config/transmission/settings.json
################
# Alternate UI #
################
if bashio::config.has_value 'customUI'; then
### Variables
CUSTOMUI=$(bashio::config 'customUI')
export TRANSMISSION_WEB_HOME=/$CUSTOMUI/"
bashio::log.info "UK selected : $TRANSMISSION_WEB_HOME"
fi