This commit is contained in:
Hans Karlinius
2024-12-03 11:51:00 +01:00
parent ed94c0d3f2
commit bf318ec6d3
2 changed files with 1 additions and 5 deletions

View File

@@ -4,7 +4,3 @@ bashio::log.info "Waiting a bit for vhclient ..."
sleep 5s
server_connection=$(/usr/bin/vhclient -t "GET CLIENT STATE" | awk '/<connection/{print}')
bashio::log.info "Server: ${server_connection}"
if [ -z $server_connection]; then
bashio::log.error "Failed to connect to server"
exit 1
fi