This commit is contained in:
Hans Karlinius
2024-11-29 04:48:05 +01:00
parent 3e63d6e7d6
commit f843da672c
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.217"
version: "0.1.218"
slug: vhclient
description: VirtualHere Client
arch:
@@ -19,11 +19,12 @@ set -x
#bashio::log.info "${list2}"
options=$(bashio::addon.options)
mapfile -t devices < <(/usr/bin/vhclient -t LIST)
#mapfile -t devices < <(/usr/bin/vhclient -t LIST)
mapfile -t devices < <(sed 's/:/ /g' <<< /usr/bin/vhclient -t LIST)
for device in "${devices[@]}"; do
if [[ "$device" =~ .*"-->".* ]]; then
#if [[ "$device" =~ .*"-->".* ]]; then
bashio::log.info "${device}"
fi
#fi
done