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