diff --git a/vhclient/config.yaml b/vhclient/config.yaml index e51cdf2..b8318db 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.50" +version: "0.1.51" slug: vhclient description: VirtualHere Client arch: diff --git a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run index ce0c7b7..f9ce5d0 100755 --- a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run +++ b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run @@ -5,4 +5,7 @@ if bashio::config.has_value 'clientid'; then fi #TEST -bashio::addon.option 'usbdevices' { 'name': 'one', 'use': false} +#bashio::addon.option 'usbdevices' { 'name': 'one', 'use': false} +my_array=($(bashio::config 'my_array')) +my_array+=({ 'name': 'one', 'use': false}) # Add a new item to the array +bashio::config::update 'my_array' "${my_array[@]}"