8 lines
208 B
Plaintext
Executable File
8 lines
208 B
Plaintext
Executable File
#!/usr/bin/with-contenv bashio
|
|
|
|
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}"
|