This commit is contained in:
Hans Karlinius
2024-11-26 08:37:19 +01:00
parent 209ad265d5
commit 10b0e46fa5
4 changed files with 9 additions and 11 deletions

View File

@@ -1,9 +1,9 @@
#!/command/with-contenv bashio
if bashio::config.has_value 'clientid'; then
clientid=($(bashio::config 'clientid'))
bashio::log.info "Set ClientId to ${clientid}"
fi
#if bashio::config.has_value 'clientid'; then
# clientid=($(bashio::config 'clientid'))
# bashio::log.info "Set ClientId to ${clientid}"
#fi
if bashio::config.has_value 'autofind'; then
autofind=($(bashio::config 'autofind'))

View File

@@ -1,5 +1,3 @@
#!/usr/bin/with-contenv bashio
echo "Hello world!"
bashio::log.info "Starting VirtualHere HTTP"
python3 -m http.server 8000

View File

@@ -1,3 +1,3 @@
#!/usr/bin/with-contenv bashio
bashio::log.info "Starting VirtualHere Client as a daemon"
bashio::log.info "Starting VirtualHere Client"
exec /usr/bin/vhclient -c /config/vhclient.ini -l /dev/stdout