test
This commit is contained in:
@@ -16,7 +16,3 @@ if bashio::config.has_value 'clientid'; then
|
||||
bashio::log.info "Set ClientId to ${clientid}"
|
||||
/usr/bin/vh_edit_config General ClientId ${clientid}
|
||||
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
|
||||
|
||||
bashio::log.info "Starting VirtualHere Client"
|
||||
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
|
||||
|
||||
file="/config/vhclient.ini"
|
||||
touch $file
|
||||
|
||||
awkconfig_update_value(){
|
||||
local section="$1"
|
||||
|
||||
Reference in New Issue
Block a user