diff --git a/vhclient/config.yaml b/vhclient/config.yaml index ad3a2c6..1f61d09 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.319" +version: "0.1.320" slug: vhclient description: VirtualHere Client arch: diff --git a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config-client/run b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config-client/run index 8bdfad1..bab45f1 100755 --- a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config-client/run +++ b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config-client/run @@ -1,7 +1,7 @@ #!/command/with-contenv bashio options=$(bashio::api.supervisor GET "/addons/self/options/config") -autofind=$(echo $options | jq '. | if .autofind then true else false end') +#autofind=$(echo $options | jq '. | if .autofind then true else false end') autouse=$(echo $options | jq '. | if .autouse then true else false end') #if $autofind; then diff --git a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/vhclient/run b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/vhclient/run index dc68af1..c3cee3a 100755 --- a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/vhclient/run +++ b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/vhclient/run @@ -1,3 +1,7 @@ #!/usr/bin/with-contenv bashio bashio::log.info "Starting VirtualHere Client" exec /usr/bin/vhclient -c /config/vhclient.ini -l /dev/stdout + +bashio::log.info "Waiting a bit for vhclient ..." +sleep 5s +/usr/bin/vhclient -t "GET CLIENT STATE"