This commit is contained in:
Alexandre
2022-04-21 13:57:09 +02:00
committed by GitHub
parent e217fdf181
commit fed2fc2cc3

View File

@@ -36,6 +36,13 @@ if bashio::config.has_value 'additional_apps'; then
done
fi
# Set TZ
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 && echo "$TIMEZONE" >/etc/timezone
fi
# Set keyboard
if bashio::config.has_value 'KEYBOARD'; then
KEYBOARD=$(bashio::config 'KEYBOARD')