tree: call ntp earlier

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-09-08 18:50:45 +02:00
parent 9d3293f91a
commit 73aa58b38b
2 changed files with 3 additions and 2 deletions

View File

@ -532,8 +532,6 @@ function ntpCheck() {
LAYOUT="$(readConfigKey "layout" "${USER_CONFIG_FILE}")"
KEYMAP="$(readConfigKey "keymap" "${USER_CONFIG_FILE}")"
if [ "${OFFLINE}" == "false" ]; then
# NTP
/etc/init.d/S49ntpd restart > /dev/null 2>&1
# Timezone
REGION="$(readConfigKey "time.region" "${USER_CONFIG_FILE}")"
TIMEZONE="$(readConfigKey "time.timezone" "${USER_CONFIG_FILE}")"

View File

@ -213,6 +213,9 @@ for ETH in ${ETHX}; do
done
done
# NTP
/etc/init.d/S49ntpd restart > /dev/null 2>&1
# Inform user
echo
echo -e "Call \033[1;34marc.sh\033[0m to configure Arc"