From 3fba97c0c9724331d4f3698a7bb36da3240e3f7b Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Thu, 5 Sep 2024 21:10:55 +0200 Subject: [PATCH] arc/boot: format data output Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc-functions.sh | 2 +- files/initrd/opt/arc/boot.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/initrd/opt/arc/arc-functions.sh b/files/initrd/opt/arc/arc-functions.sh index de9f1428..90c60672 100755 --- a/files/initrd/opt/arc/arc-functions.sh +++ b/files/initrd/opt/arc/arc-functions.sh @@ -1219,7 +1219,7 @@ function sysinfo() { TEXT+="\n CPU Scaling: \Zb${CPUFREQ}\Zn" TEXT+="\n Secure Boot: \Zb${SECURE}\Zn" TEXT+="\n Bootdisk: \Zb${LOADER_DISK}\Zn" - TEXT+="\n Time Online | Hardware: \Zb$(date) | $(hwclock)\Zn" + TEXT+="\n Time OS | Bios: \Zb$(date "+%F %H:%M:%S") | $(hwclock | cut -d. -f1)\Zn" TEXT+="\n" TEXT+="\n\Z4> Network: ${ETHN} NIC\Zn\n" for ETH in ${ETHX}; do diff --git a/files/initrd/opt/arc/boot.sh b/files/initrd/opt/arc/boot.sh index 698a1f6d..edd1f26d 100755 --- a/files/initrd/opt/arc/boot.sh +++ b/files/initrd/opt/arc/boot.sh @@ -68,7 +68,7 @@ echo -e "\033[1;37mSystem:\033[0m" echo -e "Vendor: \033[1;37m${VENDOR}\033[0m" echo -e "CPU: \033[1;37m${CPU}\033[0m" echo -e "Memory: \033[1;37m${RAMTOTAL}GB\033[0m" -echo -e "Boottime: \033[1;37m$(date) | $(hwclock)\033[0m" +echo -e "Time OS | Bios: \033[1;37m$(date "+%F %H:%M:%S") | $(hwclock | cut -d. -f1)\033[0m" echo if ! readConfigMap "addons" "${USER_CONFIG_FILE}" | grep -q nvmesystem; then