This commit is contained in:
Hans Karlinius
2024-11-29 14:58:10 +01:00
parent 79b77f11b6
commit bddddd1127
3 changed files with 6 additions and 6 deletions

View File

@@ -20,12 +20,12 @@ set -x
#options=$(bashio::addon.options)
#mapfile -t devices < <(/usr/bin/vhclient -t LIST)
#mapfile -t devices < <(sed 's/:/ /g' <<< /usr/bin/vhclient -t LIST)
#for device in "${devices[@]}"; do
mapfile -t devices < <(/usr/bin/vh_list_devices)
for device in "${devices[@]}"; do
#if [[ "$device" =~ .*"-->".* ]]; then
# bashio::log.info "${device}"
bashio::log.info "${device}"
#fi
#done
done