test
This commit is contained in:
@@ -3,17 +3,18 @@
|
||||
if bashio::config.has_value 'autofind'; then
|
||||
autofind=($(bashio::config 'autofind'))
|
||||
bashio::log.info "Set AUTOFIND hub to ${autofind}"
|
||||
if [ "${autofind}" = "true" ]; then
|
||||
/usr/bin/vhconfig_edit General AutoFind 1
|
||||
#if [ "${autofind}" = "true" ]; then
|
||||
if $autofind; then
|
||||
/usr/bin/vh_edit_config General AutoFind 1
|
||||
else
|
||||
/usr/bin/vhconfig_edit General AutoFind 0
|
||||
/usr/bin/vh_edit_config General AutoFind 0
|
||||
fi
|
||||
fi
|
||||
|
||||
if bashio::config.has_value 'clientid'; then
|
||||
clientid=($(bashio::config 'clientid'))
|
||||
bashio::log.info "Set ClientId to ${clientid}"
|
||||
/usr/bin/vhconfig_edit General ClientId ${clientid}
|
||||
/usr/bin/vh_edit_config General ClientId ${clientid}
|
||||
fi
|
||||
|
||||
if bashio::config.has_value 'manualhub'; then
|
||||
|
||||
Reference in New Issue
Block a user