test
This commit is contained in:
@@ -18,13 +18,14 @@ set -x
|
||||
#bashio::log.info "${list1}"
|
||||
#bashio::log.info "${list2}"
|
||||
|
||||
#options=$(bashio::addon.options)
|
||||
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 [[ "$device" =~ .*"-->".* ]]; then
|
||||
if [[ ! " ${options[*]} " =~ [[:space:]]${device}[[:space:]] ]]; then
|
||||
|
||||
bashio::log.info "${device}"
|
||||
#fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user