From 69bc320c176aa3ca1657016579d1706d6ffd1ed7 Mon Sep 17 00:00:00 2001 From: Hans Karlinius Date: Tue, 3 Dec 2024 22:46:56 +0100 Subject: [PATCH] test --- vhclient/config.yaml | 2 +- vhclient/rootfs/etc/s6-overlay/scripts/init-config | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vhclient/config.yaml b/vhclient/config.yaml index 4525990..a8dcb11 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.349" +version: "0.1.350" slug: vhclient description: VirtualHere Client arch: diff --git a/vhclient/rootfs/etc/s6-overlay/scripts/init-config b/vhclient/rootfs/etc/s6-overlay/scripts/init-config index 846ff11..4815489 100755 --- a/vhclient/rootfs/etc/s6-overlay/scripts/init-config +++ b/vhclient/rootfs/etc/s6-overlay/scripts/init-config @@ -4,7 +4,8 @@ options=$(bashio::api.supervisor GET "/addons/self/options/config") autofind=$(echo $options | jq '. | if .autofind then true else false end') autouse=$(echo $options | jq '. | if .autouse then true else false end') clientid=$(echo $options | jq -r '.clientid | tostring') -manualhub=$(echo $options | jq -r '.manualhub | tostring') +#manualhub=$(echo $options | jq -r '.manualhub | tostring') +manualhub=$(echo $options | jq '. | if .manualhub then .manualhub else null end') if $autofind; then bashio::log.info "Enable General AutoFind"