mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Update 99-run.sh
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
# TIMEZONE #
|
# TIMEZONE #
|
||||||
############
|
############
|
||||||
|
|
||||||
if bashio::config.has_value 'TZ' && [ -f /etc/localtime ]; then
|
if bashio::config.has_value 'TZ'; then
|
||||||
TIMEZONE=$(bashio::config 'TZ')
|
TIMEZONE=$(bashio::config 'TZ')
|
||||||
bashio::log.info "Setting timezone to $TIMEZONE"
|
bashio::log.info "Setting timezone to $TIMEZONE"
|
||||||
ln -snf /usr/share/zoneinfo/"$TIMEZONE" /etc/localtime
|
ln -snf /usr/share/zoneinfo/"$TIMEZONE" /etc/localtime
|
||||||
|
|||||||
Reference in New Issue
Block a user