Update 80-configuration.sh

This commit is contained in:
Alexandre
2022-04-21 12:26:38 +02:00
committed by GitHub
parent 50750d9be5
commit 7d421f6a62

View File

@@ -47,7 +47,7 @@ fi
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
cp /usr/share/zoneinfo/$TZ /etc/localtime
fi
# Set password