diff --git a/vhclient/config.yaml b/vhclient/config.yaml index 2f365a9..a226a3d 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.140" +version: "0.1.141" slug: vhclient description: VirtualHere Client arch: 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 a54ccda..feb5ee6 100755 --- a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run +++ b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run @@ -1,3 +1,12 @@ #!/command/with-contenv bashio -($(bashio::config 'test')) += 'gurka' +test=($(bashio::config 'test')) +test += ('gurka') +bashio::config::update 'test' "${test[@]}" + +#TEST +#bashio::addon.option 'usbdevices' { 'name': 'one', 'use': false} +#my_array=($(bashio::config 'my_array')) +#my_array+=('one') # 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[@]}"