test
This commit is contained in:
@@ -7,6 +7,8 @@ autouse=$(echo $options | jq '. | if .autouse then true else false end')
|
||||
clientid=$(echo $options | jq '.clientid | select(. != null)')
|
||||
manualhub=$(echo $options | jq '.manualhub | select(. != null)')
|
||||
|
||||
s6-env preventconfig=$preventconfig
|
||||
|
||||
if $autofind; then
|
||||
bashio::log.info "Enable General AutoFind"
|
||||
/usr/bin/vh_editini General AutoFind 1
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user