From e76238cc5cc6c7725fe41dc083f1a12b1fe45f12 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 18 Nov 2021 16:24:00 +0100 Subject: [PATCH] Update 99-run.sh --- enedisgateway2mqtt/rootfs/scripts/99-run.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/enedisgateway2mqtt/rootfs/scripts/99-run.sh b/enedisgateway2mqtt/rootfs/scripts/99-run.sh index a00ee400d..d125adb32 100644 --- a/enedisgateway2mqtt/rootfs/scripts/99-run.sh +++ b/enedisgateway2mqtt/rootfs/scripts/99-run.sh @@ -61,19 +61,6 @@ else rm $DATABASESOURCE fi -################ -# Set timezone # -################ -if bashio::config.has_value "TZ"; then - TZ=$(bashio::config "TZ") - if [ -f /usr/share/zoneinfo/$TZ ]; then - bashio::log.info "Timezone set from $(cat /etc/timezone) to $TZ" - ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone - else - bashio::log.warning "Timezone $TZ is invalid, it will be kept to default value of $(cat /etc/timezone)" - fi -fi - ############## # Launch App # ##############