diff --git a/vhclient/config.yaml b/vhclient/config.yaml index db84574..454a1bc 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.246" +version: "0.1.247" 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 8314b5a..6afd4fb 100755 --- a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run +++ b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/test/run @@ -21,7 +21,8 @@ #mapfile -t devices < <(/usr/bin/vhclient -t LIST) mapfile -t devices < <(/usr/bin/vh_list_devices) for device in "${devices[@]}"; do - options=$(bashio::addon.options) + #options=$(bashio::addon.options) + options=bashio::api.supervisor GET "/addons/self/options" bashio::log.info "Options: ${options}" if [[ ! " ${options}.usbdevices[*] " =~ [[:space:]]${device}[[:space:]] ]]; then