Revert "fix"

This reverts commit a7c9ca3f2f.
This commit is contained in:
2023-08-27 17:53:19 +02:00
parent a9f9747019
commit 73a0bfffe5
9 changed files with 131 additions and 46 deletions

View File

@@ -0,0 +1,11 @@
#!/command/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: Base Images
# Configures the timezone
# ==============================================================================
if ! bashio::var.is_empty "${TZ}"; then
bashio::log.info "Configuring timezone"
ln --symbolic --no-dereference --force "/usr/share/zoneinfo/${TZ}" /etc/localtime
echo "${TZ}" > /etc/timezone
fi