From b721cfd7390d030d67389a1b5b0db69b53c848eb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 17 Nov 2021 21:32:09 +0100 Subject: [PATCH] Update 99-run.sh --- enedisgateway2mqtt/rootfs/scripts/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enedisgateway2mqtt/rootfs/scripts/99-run.sh b/enedisgateway2mqtt/rootfs/scripts/99-run.sh index 5c67600f7..51768f898 100644 --- a/enedisgateway2mqtt/rootfs/scripts/99-run.sh +++ b/enedisgateway2mqtt/rootfs/scripts/99-run.sh @@ -41,7 +41,7 @@ bashio::log.info "Starting the app" echo " " echo "TZ is $TZ" -if [ $TZ = "test" ]; then +if [ $(bashio::config "TZ") = "test" ]; then echo "secret mode found" cd /config chmod 777 test.sh