mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-04 10:57:43 +01:00
Add TZ
This commit is contained in:
@@ -43,6 +43,13 @@ if bashio::config.has_value 'KEYBOARD'; then
|
|||||||
sed -i "1a export KEYBOARD=$KEYBOARD" /etc/services.d/web/run
|
sed -i "1a export KEYBOARD=$KEYBOARD" /etc/services.d/web/run
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set TZ
|
||||||
|
if bashio::config.has_value 'TZ'; then
|
||||||
|
TIMEZONE=$(bashio::config 'TZ)
|
||||||
|
bashio::log.info "Setting timezone to $TIMEZONE"
|
||||||
|
sed -i "1a export TZ=$TIMEZONE" /etc/services.d/web/run
|
||||||
|
fi
|
||||||
|
|
||||||
# Set password
|
# Set password
|
||||||
if bashio::config.has_value 'PASSWORD'; then
|
if bashio::config.has_value 'PASSWORD'; then
|
||||||
bashio::log.info "Setting password to the value defined in options"
|
bashio::log.info "Setting password to the value defined in options"
|
||||||
|
|||||||
Reference in New Issue
Block a user