test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.354"
|
version: "0.1.355"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ autouse=$(echo $options | jq '. | if .autouse then true else false end')
|
|||||||
clientid=$(echo $options | jq '.clientid | select(. != null)')
|
clientid=$(echo $options | jq '.clientid | select(. != null)')
|
||||||
manualhub=$(echo $options | jq '.manualhub | select(. != null)')
|
manualhub=$(echo $options | jq '.manualhub | select(. != null)')
|
||||||
|
|
||||||
|
s6-env preventconfig=$preventconfig
|
||||||
|
|
||||||
if $autofind; then
|
if $autofind; then
|
||||||
bashio::log.info "Enable General AutoFind"
|
bashio::log.info "Enable General AutoFind"
|
||||||
/usr/bin/vh_editini General AutoFind 1
|
/usr/bin/vh_editini General AutoFind 1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
bashio::log.info "Waiting a bit for vhclient ..."
|
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}')
|
server_connection=$(/usr/bin/vhclient -t "GET CLIENT STATE" | awk '/<connection/{print}')
|
||||||
bashio::log.info "Server: ${server_connection}"
|
bashio::log.info "Server: ${server_connection}"
|
||||||
|
|||||||
Reference in New Issue
Block a user