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