test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.250"
|
version: "0.1.251"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ mapfile -t devices < <(/usr/bin/vh_list_devices)
|
|||||||
for device in "${devices[@]}"; do
|
for device in "${devices[@]}"; do
|
||||||
#options=$(bashio::addon.options)
|
#options=$(bashio::addon.options)
|
||||||
options=$(bashio::api.supervisor GET "/addons/self/options/config")
|
options=$(bashio::api.supervisor GET "/addons/self/options/config")
|
||||||
bashio::log.info "Options: ${jq ${options}.usbdevices[] | contains(.device == ${device})}"
|
bashio::log.info "Options: ${printf $options | jq .usbdevices[] | contains(.device == ${device})}"
|
||||||
|
|
||||||
if [[ ! " ${options}.usbdevices[*] " =~ [[:space:]]${device}[[:space:]] ]]; then
|
if [[ ! " ${options}.usbdevices[*] " =~ [[:space:]]${device}[[:space:]] ]]; then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user