mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:29:53 +07:00
boot: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
091f0aa722
commit
b436eed058
@ -46,6 +46,9 @@ if [ "${ZIMAGE_HASH_CUR}" != "${ZIMAGE_HASH}" ] || [ "${RAMDISK_HASH_CUR}" != "$
|
|||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Clock Setting
|
||||||
|
hwclock --hctosys > /dev/null 2>&1
|
||||||
|
|
||||||
# Read model/system variables
|
# Read model/system variables
|
||||||
PLATFORM="$(readConfigKey "platform" "${USER_CONFIG_FILE}")"
|
PLATFORM="$(readConfigKey "platform" "${USER_CONFIG_FILE}")"
|
||||||
MODEL="$(readConfigKey "model" "${USER_CONFIG_FILE}")"
|
MODEL="$(readConfigKey "model" "${USER_CONFIG_FILE}")"
|
||||||
@ -75,7 +78,7 @@ echo
|
|||||||
echo -e "\033[1;37mLocation:\033[0m"
|
echo -e "\033[1;37mLocation:\033[0m"
|
||||||
echo -e "Keymap: \033[1;37m${KEYMAP}\033[0m"
|
echo -e "Keymap: \033[1;37m${KEYMAP}\033[0m"
|
||||||
echo -e "Timezone: \033[1;37m${REGION}/${TIMEZONE}\033[0m"
|
echo -e "Timezone: \033[1;37m${REGION}/${TIMEZONE}\033[0m"
|
||||||
echo -e "Time OS | Bios: \033[1;37m$(TZ="${REGION}/${TIMEZONE}" && date "+%F %H:%M:%S") | $(hwclock | cut -d. -f1)\033[0m"
|
echo -e "Time: \033[1;37m$(TZ="${REGION}/${TIMEZONE}" && date "+%F %H:%M:%S")\033[0m"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if ! readConfigMap "addons" "${USER_CONFIG_FILE}" | grep -q nvmesystem; then
|
if ! readConfigMap "addons" "${USER_CONFIG_FILE}" | grep -q nvmesystem; then
|
||||||
|
Loading…
Reference in New Issue
Block a user