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