From 060ecc623118560359a2087dee14604c66cacb6c Mon Sep 17 00:00:00 2001 From: Hans Karlinius Date: Tue, 26 Nov 2024 17:27:03 +0100 Subject: [PATCH] test --- vhclient/config.yaml | 5 ++--- vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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"