mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-26 01:06:04 +02:00
Update 99-run.sh
This commit is contained in:
@@ -60,7 +60,7 @@ if bashio::config.true "test"; then
|
|||||||
|
|
||||||
# Get variables and export
|
# Get variables and export
|
||||||
bashio::log.info "Starting the app with the variables in /config/enedisgateway2mqtt"
|
bashio::log.info "Starting the app with the variables in /config/enedisgateway2mqtt"
|
||||||
for word in $(parse_yaml $CONFIGSOURCE); do
|
for word in $(parse_yaml $CONFIGSOURCE conf); do
|
||||||
# Data validation
|
# Data validation
|
||||||
if [[ $word =~ ^.+[=].+$ ]]; then
|
if [[ $word =~ ^.+[=].+$ ]]; then
|
||||||
export $word # Export the variable
|
export $word # Export the variable
|
||||||
|
|||||||
Reference in New Issue
Block a user