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

View File

@@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bashio
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}')
bashio::log.info "Server: ${server_connection}"