This commit is contained in:
Hans Karlinius
2024-12-03 11:23:06 +01:00
parent b86656df7f
commit 28867bd1ae
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.343"
version: "0.1.344"
slug: vhclient
description: VirtualHere Client
arch:

View File

@@ -2,4 +2,6 @@
bashio::log.info "Waiting a bit for vhclient ..."
sleep 5s
/usr/bin/vhclient -t "GET CLIENT STATE"
server=$(/usr/bin/vhclient -t "GET CLIENT STATE" | awk '/<server>/{print $2}')
bashio::log.info "Server: ${server}"