test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.355"
|
version: "0.1.356"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/command/with-contenv bashio
|
#!/command/with-contenv bashio
|
||||||
#set -x
|
|
||||||
|
|
||||||
mapfile -t devices < <(/usr/bin/vh_list_devices)
|
mapfile -t devices < <(/usr/bin/vh_list_devices)
|
||||||
for device in "${devices[@]}"; do
|
for device in "${devices[@]}"; do
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ 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
|
bashio::cache.set "preventconfig $preventconfig"
|
||||||
|
|
||||||
if $autofind; then
|
if $autofind; then
|
||||||
bashio::log.info "Enable General AutoFind"
|
bashio::log.info "Enable General AutoFind"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
tmpfile="/tmp/vhclient_config_tmp"
|
tmpfile="/tmp/vhclient_config_tmp"
|
||||||
file="/config/vhclient.ini"
|
file="/config/vhclient.ini"
|
||||||
touch $file
|
s6-touch $file
|
||||||
|
|
||||||
if [ -z "${3:-}" ]; then
|
if [ -z "${3:-}" ]; then
|
||||||
v=''
|
v=''
|
||||||
|
|||||||
Reference in New Issue
Block a user