mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 00-global_var.sh
This commit is contained in:
@@ -117,7 +117,8 @@ done
|
|||||||
################
|
################
|
||||||
# Set timezone #
|
# Set timezone #
|
||||||
################
|
################
|
||||||
set +e
|
set +eu
|
||||||
|
|
||||||
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