diff --git a/vhclient/config.yaml b/vhclient/config.yaml index 7bf34aa..fdd5370 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.196" +version: "0.1.197" slug: vhclient description: VirtualHere Client arch: @@ -40,12 +40,14 @@ usb: true usbip: true kernel_modules: true options: + updateconfig: true autouse: true autofind: true clientid: '' manualhub: '' usbdevices: [] schema: + updateconfig: bool autouse: bool autofind: bool clientid: str? diff --git a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run index 8115023..917e6f1 100755 --- a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run +++ b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run @@ -13,6 +13,9 @@ 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"` +bashio::log.info "${list}" + #options=$(bashio::addon.options) #new_options=$(echo $options | jq .usbdevices += [{ device: 'ONE', use: false }]) #payload=$(bashio::var.json options "^${new_options}")