test
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
if bashio::config.has_value 'autofind'; then
|
||||
autofind=($(bashio::config 'autofind'))
|
||||
bashio::log.info "Set AUTOFIND hub to ${autofind}"
|
||||
#if [ "${autofind}" = "true" ]; then
|
||||
if $autofind; then
|
||||
if [ "${autofind}" = "true" ]; then
|
||||
/usr/bin/vh_edit_config General AutoFind 1
|
||||
else
|
||||
/usr/bin/vh_edit_config General AutoFind 0
|
||||
@@ -19,13 +18,12 @@ fi
|
||||
|
||||
if bashio::config.has_value 'manualhub'; then
|
||||
manualhub=($(bashio::config 'manualhub'))
|
||||
bashio::log.info "Set HUB to ${manualhub}"
|
||||
bashio::log.info "MANUAL HUB ADD,${manualhub}"
|
||||
/usr/bin/vhclient -t "MANUAL HUB ADD,${manualhub}"
|
||||
fi
|
||||
|
||||
if bashio::config.has_value 'autouse'; then
|
||||
autouse=($(bashio::config 'autouse'))
|
||||
bashio::log.info "Set AUTOUSE all devices to ${autouse}"
|
||||
if [ "${autouse}" = "true" ]; then
|
||||
bashio::log.info "AUTO USE ALL"
|
||||
/usr/bin/vhclient -t "AUTO USE ALL"
|
||||
|
||||
Reference in New Issue
Block a user