diff --git a/vhclient/config.yaml b/vhclient/config.yaml index c93b596..a75d334 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.118" +version: "0.1.119" slug: vhclient description: VirtualHere Client arch: @@ -41,10 +41,9 @@ usbip: true kernel_modules: true options: autouse: true - autofind: true schema: autouse: bool - autofind: bool + autofind: "bool?" manualhub: "str?" stage: experimental init: false 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 df9800c..d071054 100755 --- a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run +++ b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run @@ -16,7 +16,7 @@ fi if bashio::config.has_value 'autouse'; then autouse=($(bashio::config 'autouse')) bashio::log.info "Set AUTOUSE all devices to ${autouse}" - if autouse; then + if [ autouse ]; then /usr/bin/vhclient -t "AUTO USE ALL" else /usr/bin/vhclient -t "AUTO USE CLEAR ALL"