This commit is contained in:
Alexandre
2022-04-20 20:26:13 +02:00
committed by GitHub
parent 04f4a9553c
commit 4cdeec0666

View File

@@ -43,6 +43,13 @@ if bashio::config.has_value 'KEYBOARD'; then
sed -i "1a export KEYBOARD=$KEYBOARD" /etc/services.d/web/run
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
if bashio::config.has_value 'PASSWORD'; then
bashio::log.info "Setting password to the value defined in options"