mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-16 22:01:48 +02:00
Tz fix
This commit is contained in:
@@ -36,6 +36,13 @@ if bashio::config.has_value 'additional_apps'; then
|
|||||||
done
|
done
|
||||||
fi
|
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
|
# Set keyboard
|
||||||
if bashio::config.has_value 'KEYBOARD'; then
|
if bashio::config.has_value 'KEYBOARD'; then
|
||||||
KEYBOARD=$(bashio::config 'KEYBOARD')
|
KEYBOARD=$(bashio::config 'KEYBOARD')
|
||||||
|
|||||||
Reference in New Issue
Block a user