This commit is contained in:
Hans Karlinius
2024-11-29 03:50:29 +01:00
parent 64af6d1e7d
commit 99be629c03
2 changed files with 5 additions and 3 deletions

View File

@@ -13,8 +13,10 @@ set -x
#my_array+=({ 'name': 'one', 'use': false}) # Add a new item to the array
#bashio::config::update 'my_array' "${my_array[@]}"
list=$(/usr/bin/vhclient -t LIST | grep --)
bashio::log.info "${list}"
list1=$(/usr/bin/vhclient -t LIST)
list2=$(grep -- ${list1})
bashio::log.info "${list1}"
bashio::log.info "${list2}"
#options=$(bashio::addon.options)
#new_options=$(echo $options | jq .usbdevices += [{ device: 'ONE', use: false }])