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