test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.320"
|
version: "0.1.321"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -16,7 +16,3 @@ if bashio::config.has_value 'clientid'; then
|
|||||||
bashio::log.info "Set ClientId to ${clientid}"
|
bashio::log.info "Set ClientId to ${clientid}"
|
||||||
/usr/bin/vh_edit_config General ClientId ${clientid}
|
/usr/bin/vh_edit_config General ClientId ${clientid}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#bashio::log.info "Waiting a bit for vhclient ..."
|
|
||||||
#sleep 5s
|
|
||||||
#/usr/bin/vhclient -t "GET CLIENT STATE"
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
oneshot
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
bashio::log.info "Waiting a bit for vhclient ..."
|
||||||
|
sleep 5s
|
||||||
|
/usr/bin/vhclient -t "GET CLIENT STATE"
|
||||||
@@ -1,7 +1,4 @@
|
|||||||
#!/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"
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# Changed code from https://gist.github.com/thomedes/6201620#file-ini-sed
|
# Changed code from https://gist.github.com/thomedes/6201620#file-ini-sed
|
||||||
|
|
||||||
file="/config/vhclient.ini"
|
file="/config/vhclient.ini"
|
||||||
|
touch $file
|
||||||
|
|
||||||
awkconfig_update_value(){
|
awkconfig_update_value(){
|
||||||
local section="$1"
|
local section="$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user