test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.220"
|
version: "0.1.229"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -20,12 +20,12 @@ set -x
|
|||||||
|
|
||||||
#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)
|
mapfile -t devices < <(/usr/bin/vh_list_devices)
|
||||||
#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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/command/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
|
|
||||||
/usr/bin/vhclient -t LIST | grep '-->'
|
/usr/bin/vhclient -t list|awk '{ if ($1 ~ /-->/) { print substr($0, 8, index($0, ")") - 7 ) } }'
|
||||||
|
|||||||
Reference in New Issue
Block a user