test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.196"
|
version: "0.1.197"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
@@ -40,12 +40,14 @@ usb: true
|
|||||||
usbip: true
|
usbip: true
|
||||||
kernel_modules: true
|
kernel_modules: true
|
||||||
options:
|
options:
|
||||||
|
updateconfig: true
|
||||||
autouse: true
|
autouse: true
|
||||||
autofind: true
|
autofind: true
|
||||||
clientid: ''
|
clientid: ''
|
||||||
manualhub: ''
|
manualhub: ''
|
||||||
usbdevices: []
|
usbdevices: []
|
||||||
schema:
|
schema:
|
||||||
|
updateconfig: bool
|
||||||
autouse: bool
|
autouse: bool
|
||||||
autofind: bool
|
autofind: bool
|
||||||
clientid: str?
|
clientid: str?
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ set -x
|
|||||||
#my_array+=({ 'name': 'one', 'use': false}) # Add a new item to the array
|
#my_array+=({ 'name': 'one', 'use': false}) # Add a new item to the array
|
||||||
#bashio::config::update 'my_array' "${my_array[@]}"
|
#bashio::config::update 'my_array' "${my_array[@]}"
|
||||||
|
|
||||||
|
list=`/usr/bin/vhclient -t "LIST"`
|
||||||
|
bashio::log.info "${list}"
|
||||||
|
|
||||||
#options=$(bashio::addon.options)
|
#options=$(bashio::addon.options)
|
||||||
#new_options=$(echo $options | jq .usbdevices += [{ device: 'ONE', use: false }])
|
#new_options=$(echo $options | jq .usbdevices += [{ device: 'ONE', use: false }])
|
||||||
#payload=$(bashio::var.json options "^${new_options}")
|
#payload=$(bashio::var.json options "^${new_options}")
|
||||||
|
|||||||
Reference in New Issue
Block a user