diff --git a/webtop_kde/rootfs/etc/cont-init.d/80-configuration.sh b/webtop_kde/rootfs/etc/cont-init.d/80-configuration.sh index cdae4e5c2..80bbf824e 100644 --- a/webtop_kde/rootfs/etc/cont-init.d/80-configuration.sh +++ b/webtop_kde/rootfs/etc/cont-init.d/80-configuration.sh @@ -47,7 +47,7 @@ fi if bashio::config.has_value 'TZ'; then TIMEZONE=$(bashio::config 'TZ') bashio::log.info "Setting timezone to $TIMEZONE" - sed -i "1a export TZ=$TIMEZONE" /etc/services.d/web/run + cp /usr/share/zoneinfo/$TZ /etc/localtime fi # Set password