This commit is contained in:
Hans Karlinius
2024-12-03 11:34:22 +01:00
parent 28867bd1ae
commit 5936b60841
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.344"
version: "0.1.345"
slug: vhclient
description: VirtualHere Client
arch:
@@ -2,6 +2,9 @@
bashio::log.info "Waiting a bit for vhclient ..."
sleep 5s
server=$(/usr/bin/vhclient -t "GET CLIENT STATE" | awk '/<server>/{print $2}')
bashio::log.info "Server: ${server}"
server_connection=$(/usr/bin/vhclient -t "GET CLIENT STATE" | awk '/<connection/{print}')
bashio::log.info "Server: ${server_connection}"
if [ -z $server_connection] then; do
bashio::log.error "Failed to connect to server"
exit 1
fi