This commit is contained in:
Hans Karlinius
2024-12-01 09:13:23 +01:00
parent 12db46a08b
commit a1e03be7c5
3 changed files with 8 additions and 4 deletions

View File

@@ -23,13 +23,16 @@ else
fi
#if bashio::config.has_value 'clientid'; then
if ${clientid+:} ; then
if [ -n "$clientid" ]; then
#clientid=($(bashio::config 'clientid'))
bashio::log.info "Set General ClientId to ${clientid}"
/usr/bin/vh_edit_config General ClientId ${clientid}
else
bashio::log.info "Set General ClientId to null"
/usr/bin/vh_edit_config General ClientId null
fi
if ${manualhub+:} ; then
if [ -n "$manualhub" ]; then
bashio::log.info "Set Settings ManualHubs to ${manualhub}"
/usr/bin/vh_edit_config Settings ManualHubs ${manualhub}