test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.217"
|
version: "0.1.218"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -19,11 +19,12 @@ set -x
|
|||||||
#bashio::log.info "${list2}"
|
#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/vhclient -t LIST)
|
||||||
|
mapfile -t devices < <(sed 's/:/ /g' <<< /usr/bin/vhclient -t LIST)
|
||||||
for device in "${devices[@]}"; do
|
for device in "${devices[@]}"; do
|
||||||
if [[ "$device" =~ .*"-->".* ]]; then
|
#if [[ "$device" =~ .*"-->".* ]]; then
|
||||||
bashio::log.info "${device}"
|
bashio::log.info "${device}"
|
||||||
fi
|
#fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user