mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 20-config
This commit is contained in:
@@ -5,6 +5,10 @@ declare CONFIG
|
||||
declare incomplete_bool
|
||||
declare download_dir
|
||||
declare incomplete_dir
|
||||
declare USER
|
||||
declare PASS
|
||||
declare WHITELIST
|
||||
declare HOST_WHITELIST
|
||||
|
||||
##########################
|
||||
# IMPORT PREVIOUS FOLDER #
|
||||
@@ -75,7 +79,9 @@ if bashio::config.has_value 'customUI'; then
|
||||
bashio::log.info "UI selected : $TRANSMISSION_WEB_HOME"
|
||||
fi
|
||||
|
||||
# From linuxserver
|
||||
####################
|
||||
# From linuxserver #
|
||||
####################
|
||||
|
||||
if [ ! -z "$USER" ] && [ ! -z "$PASS" ]; then
|
||||
sed -i '/rpc-authentication-required/c\ "rpc-authentication-required": true,' /config/settings.json
|
||||
|
||||
Reference in New Issue
Block a user