mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 00-global_var.sh
This commit is contained in:
@@ -117,7 +117,8 @@ done
|
||||
################
|
||||
# Set timezone #
|
||||
################
|
||||
set +e
|
||||
set +eu
|
||||
|
||||
if [ -n "$TZ" ] && [ -f /etc/localtime ]; then
|
||||
if [ -f /usr/share/zoneinfo/"$TZ" ]; then
|
||||
echo "Timezone set from $(cat /etc/timezone) to $TZ"
|
||||
|
||||
Reference in New Issue
Block a user