test
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: VirtualHere Client
|
||||
version: "0.1.218"
|
||||
version: "0.1.219"
|
||||
slug: vhclient
|
||||
description: VirtualHere Client
|
||||
arch:
|
||||
|
||||
@@ -18,14 +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 < <(sed 's/:/ /g' <<< /usr/bin/vhclient -t LIST)
|
||||
for device in "${devices[@]}"; do
|
||||
#mapfile -t devices < <(sed 's/:/ /g' <<< /usr/bin/vhclient -t LIST)
|
||||
#for device in "${devices[@]}"; do
|
||||
#if [[ "$device" =~ .*"-->".* ]]; then
|
||||
bashio::log.info "${device}"
|
||||
# bashio::log.info "${device}"
|
||||
#fi
|
||||
done
|
||||
#done
|
||||
|
||||
|
||||
|
||||
|
||||
3
vhclient/rootfs/usr/bin/vh_list_devices
Normal file
3
vhclient/rootfs/usr/bin/vh_list_devices
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/command/with-contenv bashio
|
||||
|
||||
/usr/bin/vhclient -t LIST | grep '-->'
|
||||
Reference in New Issue
Block a user