boot: cleanup (speedup boot - time reading has no sense here, time will be read by dsm at boot)

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-09-10 20:22:21 +02:00
parent 63d3816464
commit 9ee2b6cc23

View File

@ -46,9 +46,6 @@ if [ "${ZIMAGE_HASH_CUR}" != "${ZIMAGE_HASH}" ] || [ "${RAMDISK_HASH_CUR}" != "$
echo
fi
# Clock Setting
hwclock --hctosys > /dev/null 2>&1 || true
# Read model/system variables
PLATFORM="$(readConfigKey "platform" "${USER_CONFIG_FILE}")"
MODEL="$(readConfigKey "model" "${USER_CONFIG_FILE}")"
@ -78,7 +75,6 @@ echo
echo -e "\033[1;37mLocation:\033[0m"
echo -e "Keymap: \033[1;37m${KEYMAP}\033[0m"
echo -e "Timezone: \033[1;37m${REGION}/${TIMEZONE}\033[0m"
echo -e "Time: \033[1;37m$(TZ="${REGION}/${TIMEZONE}" && date "+%F %H:%M:%S")\033[0m"
echo
if ! readConfigMap "addons" "${USER_CONFIG_FILE}" | grep -q nvmesystem; then