#!/command/with-contenv bashio # shellcheck shell=bash # ============================================================================== # Home Assistant Community Add-on: Base Images # Configures the timezone # ============================================================================== bashio::log.info "Configuring timezone (${TZ:-None})..." ln --symbolic --no-dereference --force "/usr/share/zoneinfo/${TZ:-UTC}" /etc/localtime echo "${TZ:-UTC}" > /etc/timezone dpkg-reconfigure --frontend noninteractive tzdata 2> /dev/null