fix
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
#!/usr/bin/env bashio
|
||||
set -x
|
||||
declare hostname
|
||||
bashio::require.unprotected
|
||||
|
||||
SETTINGS_CONF=/variables.sh
|
||||
touch ${SETTINGS_CONF}
|
||||
|
||||
SOCKET_PATH=$(bashio::config 'socket_path')
|
||||
bashio::log.info "Setting socket path: ${SOCKET_PATH}"
|
||||
echo "export SOCKET_PATH=${SOCKET_PATH}" >> ${SETTINGS_CONF}
|
||||
|
||||
if bashio::var.true 'events'; then
|
||||
bashio::log.info "Enabling events"
|
||||
echo "export ENABLE_EVENTS=1" >> ${SETTINGS_CONF}
|
||||
|
||||
Reference in New Issue
Block a user