mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-29 20:04:05 +02:00
Update 99-run.sh
This commit is contained in:
@@ -57,7 +57,7 @@ sed -i 's|"||g' $CONFIGSOURCE
|
|||||||
for word in $(cat $CONFIGSOURCE); do
|
for word in $(cat $CONFIGSOURCE); do
|
||||||
# Data validation
|
# Data validation
|
||||||
if [[ $word =~ ^.+[=].+$ ]]; then
|
if [[ $word =~ ^.+[=].+$ ]]; then
|
||||||
export "$word" # Export the variable
|
export $word # Export the variable
|
||||||
bashio::log.info "... $word"
|
bashio::log.info "... $word"
|
||||||
else
|
else
|
||||||
bashio::log.fatal "$word does not follow the structure KEY=text, it will be ignored and removed from the config"
|
bashio::log.fatal "$word does not follow the structure KEY=text, it will be ignored and removed from the config"
|
||||||
|
|||||||
Reference in New Issue
Block a user