From 4206202abde6d8850a3e95bc35670225846c4fa7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 25 Feb 2023 18:34:11 +0100 Subject: [PATCH] Update 90-config_yaml.sh --- .templates/90-config_yaml.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.templates/90-config_yaml.sh b/.templates/90-config_yaml.sh index 1414a80c9..b15f8200b 100755 --- a/.templates/90-config_yaml.sh +++ b/.templates/90-config_yaml.sh @@ -121,7 +121,7 @@ while IFS= read -r line; do # set .env echo "$line" >> /.env || true mkdir -p /etc - echo "$KEYS=\'$VALUE\'" >> /etc/environmemt + echo "$KEYS=$VALUE" >> /etc/environmemt # Export to scripts sed -i "1a export $KEYS=\'$VALUE\'" /etc/services.d/*/*run* 2>/dev/null || true sed -i "1a export $KEYS=\'$VALUE\'" /etc/cont-init.d/*run* 2>/dev/null || true @@ -135,11 +135,3 @@ while IFS= read -r line; do fi done <"/tmpfile" -# Test mode -TZ=$(bashio::config "TZ") -if [ "$TZ" = "test" ]; then - echo "secret mode found, launching script in /config/test.sh" - cd /config || exit - chmod 777 test.sh - ./test.sh -fi