test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.319"
|
version: "0.1.320"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/command/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
|
|
||||||
options=$(bashio::api.supervisor GET "/addons/self/options/config")
|
options=$(bashio::api.supervisor GET "/addons/self/options/config")
|
||||||
autofind=$(echo $options | jq '. | if .autofind then true else false end')
|
#autofind=$(echo $options | jq '. | if .autofind then true else false end')
|
||||||
autouse=$(echo $options | jq '. | if .autouse then true else false end')
|
autouse=$(echo $options | jq '. | if .autouse then true else false end')
|
||||||
|
|
||||||
#if $autofind; then
|
#if $autofind; then
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
bashio::log.info "Starting VirtualHere Client"
|
bashio::log.info "Starting VirtualHere Client"
|
||||||
exec /usr/bin/vhclient -c /config/vhclient.ini -l /dev/stdout
|
exec /usr/bin/vhclient -c /config/vhclient.ini -l /dev/stdout
|
||||||
|
|
||||||
|
bashio::log.info "Waiting a bit for vhclient ..."
|
||||||
|
sleep 5s
|
||||||
|
/usr/bin/vhclient -t "GET CLIENT STATE"
|
||||||
|
|||||||
Reference in New Issue
Block a user