test
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: VirtualHere Client
|
||||
version: "0.1.210"
|
||||
version: "0.1.211"
|
||||
slug: vhclient
|
||||
description: VirtualHere Client
|
||||
arch:
|
||||
|
||||
@@ -14,9 +14,16 @@ set -x
|
||||
#bashio::config::update 'my_array' "${my_array[@]}"
|
||||
|
||||
list1=$(/usr/bin/vhclient -t LIST)
|
||||
list2=$(eval 'grep "--" <<< "$list1"')
|
||||
#list2=$(eval 'grep "--" <<< "$list1"')
|
||||
bashio::log.info "${list1}"
|
||||
bashio::log.info "${list2}"
|
||||
#bashio::log.info "${list2}"
|
||||
|
||||
mapfile -t devices < <(/usr/bin/vhclient -t LIST)
|
||||
for device in "${devices[@]}"; do
|
||||
bashio::log.info "${device}"
|
||||
done
|
||||
|
||||
|
||||
|
||||
#options=$(bashio::addon.options)
|
||||
#new_options=$(echo $options | jq .usbdevices += [{ device: 'ONE', use: false }])
|
||||
|
||||
Reference in New Issue
Block a user