mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-13 00:20:36 +01:00
Update 02-timezone.sh
This commit is contained in:
@@ -17,6 +17,7 @@ fi
|
||||
ln -sf "/usr/share/zoneinfo/${TZ_VALUE}" /etc/localtime
|
||||
echo "${TZ_VALUE}" > /etc/timezone
|
||||
export TZ="${TZ_VALUE}"
|
||||
sed -i "1a TZ=\"${TZ_VALUE}\"" /etc/services.d/*
|
||||
|
||||
# Update s6 container environment so child processes inherit the timezone
|
||||
if [ -d /var/run/s6/container_environment ]; then
|
||||
|
||||
Reference in New Issue
Block a user