mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-13 19:10:35 +02:00
Update 80-configuration.sh
This commit is contained in:
@@ -47,7 +47,7 @@ fi
|
|||||||
if bashio::config.has_value 'TZ'; 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"
|
||||||
cp /usr/share/zoneinfo/$TZ /etc/localtime
|
ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && echo "$TZ" >/etc/timezone
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set password
|
# Set password
|
||||||
|
|||||||
Reference in New Issue
Block a user