From 82f31739cbc7624c81c5ef352b4c62ca140b3f17 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 9 May 2022 07:46:28 +0200 Subject: [PATCH] Update 99-run.sh --- filebrowser/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filebrowser/rootfs/etc/cont-init.d/99-run.sh b/filebrowser/rootfs/etc/cont-init.d/99-run.sh index 9181eca7f..99f7c8b98 100644 --- a/filebrowser/rootfs/etc/cont-init.d/99-run.sh +++ b/filebrowser/rootfs/etc/cont-init.d/99-run.sh @@ -5,7 +5,7 @@ # TIMEZONE # ############ -if bashio::config.has_value 'TZ' && [ -f /etc/localtime ]; then +if bashio::config.has_value 'TZ'; then TIMEZONE=$(bashio::config 'TZ') bashio::log.info "Setting timezone to $TIMEZONE" ln -snf /usr/share/zoneinfo/"$TIMEZONE" /etc/localtime