This commit is contained in:
Hans Karlinius
2024-12-04 04:17:08 +01:00
parent aaa02d6d37
commit 13e7e45e22
2 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,10 @@
#!/usr/bin/with-contenv bashio
preventconfig=$(bashio::cache.get preventconfig)
bashio::log.info "GURKA ${preventconfig}"
if $preventconfig; then
bashio::log.info "Prevent config and exit"
exit0
fi
if bashio::config.has_value 'usbdevices'; then
options=$(bashio::api.supervisor GET "/addons/self/options/config")