This commit is contained in:
Hans Karlinius
2024-12-04 03:21:07 +01:00
parent 1206af3fbe
commit 2fe1482443
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: VirtualHere Client name: VirtualHere Client
version: "0.1.354" version: "0.1.355"
slug: vhclient slug: vhclient
description: VirtualHere Client description: VirtualHere Client
arch: arch:
@@ -7,6 +7,8 @@ autouse=$(echo $options | jq '. | if .autouse then true else false end')
clientid=$(echo $options | jq '.clientid | select(. != null)') clientid=$(echo $options | jq '.clientid | select(. != null)')
manualhub=$(echo $options | jq '.manualhub | select(. != null)') manualhub=$(echo $options | jq '.manualhub | select(. != null)')
s6-env preventconfig=$preventconfig
if $autofind; then if $autofind; then
bashio::log.info "Enable General AutoFind" bashio::log.info "Enable General AutoFind"
/usr/bin/vh_editini General AutoFind 1 /usr/bin/vh_editini General AutoFind 1
@@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
bashio::log.info "Waiting a bit for vhclient ..." bashio::log.info "Waiting a bit for vhclient ..."
sleep 5s s6-sleep 5
server_connection=$(/usr/bin/vhclient -t "GET CLIENT STATE" | awk '/<connection/{print}') server_connection=$(/usr/bin/vhclient -t "GET CLIENT STATE" | awk '/<connection/{print}')
bashio::log.info "Server: ${server_connection}" bashio::log.info "Server: ${server_connection}"