Update 80-configuration.sh

This commit is contained in:
Alexandre
2022-04-21 12:29:16 +02:00
committed by GitHub
parent ca55ad753c
commit 88ff65fc8a

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"
cp /usr/share/zoneinfo/$TZ /etc/localtime
ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && echo "$TZ" >/etc/timezone
fi
# Set password