From 5c66137046976f828c1dc043d3d7d8b77b5a1a79 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 3 Dec 2021 20:33:36 +0100 Subject: [PATCH] Update 90-config_yaml.sh --- zzz_templates/90-config_yaml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zzz_templates/90-config_yaml.sh b/zzz_templates/90-config_yaml.sh index 9d0e88adc..0824cc367 100644 --- a/zzz_templates/90-config_yaml.sh +++ b/zzz_templates/90-config_yaml.sh @@ -85,11 +85,11 @@ while IFS= read -r line; do logmsg="Variable set : $line" if [ -f /etc/services.d/*/*run* ]; then sed -i "1a export $line" /etc/services.d/*/run # Export the variable - sed -i "1a bashio::log.blue $logmsg || echo \$(tput -T xterm setaf 2)$logmsg\$(tput -T xterm setaf 0)" /etc/services.d/*/run # Show text in colour + sed -i "1a bashio::log.blue $logmsg || echo \$(tput -T xterm setaf 2)$logmsg\$(tput -T xterm setaf 0) || echo $logmsg" /etc/services.d/*/run # Show text in colour fi if [ -f /scripts/*run* ]; then sed -i "1a export $line" /scripts/*run* # Export the variable - sed -i "1a bashio::log.blue $logmsg || echo \$(tput -T xterm setaf 2)$logmsg\$(tput -T xterm setaf 0)" /scripts/*run* # Show text in colour + sed -i "1a bashio::log.blue $logmsg || echo \$(tput -T xterm setaf 2)$logmsg\$(tput -T xterm setaf 0) || echo $logmsg" /scripts/*run* # Show text in colour fi bashio::log.blue "$line" else