test
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
#mapfile -t devices < <(/usr/bin/vhclient -t LIST)
|
||||
mapfile -t devices < <(/usr/bin/vh_list_devices)
|
||||
for device in "${devices[@]}"; do
|
||||
options=$(bashio::addon.options)
|
||||
#options=$(bashio::addon.options)
|
||||
options=bashio::api.supervisor GET "/addons/self/options"
|
||||
bashio::log.info "Options: ${options}"
|
||||
if [[ ! " ${options}.usbdevices[*] " =~ [[:space:]]${device}[[:space:]] ]]; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user