test
This commit is contained in:
@@ -2,8 +2,14 @@
|
||||
|
||||
preventconfig=$(bashio::cache.get preventconfig)
|
||||
if $preventconfig; then
|
||||
bashio::log.info "Prevent config and exit"
|
||||
exit0
|
||||
bashio::log.info "Prevent USE device from config"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
autouse=$(bashio::cache.get autouse)
|
||||
if $autouse; then
|
||||
bashio::log.info "AutoShare enabled, will not USE device from config"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if bashio::config.has_value 'usbdevices'; then
|
||||
|
||||
Reference in New Issue
Block a user