test
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#!/command/with-contenv bashio
|
||||
|
||||
bashio::addon.option 'clientid'
|
||||
bashio::addon.option 'manualhub'
|
||||
|
||||
options=$(bashio::api.supervisor GET "/addons/self/options/config")
|
||||
autofind=$(echo $options | jq '. | if .autofind then true else false end')
|
||||
autouse=$(echo $options | jq '. | if .autouse then true else false end')
|
||||
@@ -31,7 +34,6 @@ else
|
||||
fi
|
||||
|
||||
if [ -n "$manualhub" ]; then
|
||||
|
||||
bashio::log.info "Set Settings ManualHubs to ${manualhub}"
|
||||
/usr/bin/vh_editini Settings ManualHubs ${manualhub}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user