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