From 4380b42efa95c9ac05c4e74ff96bc64f95383e45 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 29 Mar 2024 13:58:30 +0100 Subject: [PATCH] boot: fix typo Signed-off-by: AuxXxilium --- files/initrd/opt/arc/boot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/initrd/opt/arc/boot.sh b/files/initrd/opt/arc/boot.sh index 8399205..1d10ff5 100755 --- a/files/initrd/opt/arc/boot.sh +++ b/files/initrd/opt/arc/boot.sh @@ -53,7 +53,7 @@ PRODUCTVER="$(readConfigKey "productver" "${USER_CONFIG_FILE}")" LKM="$(readConfigKey "lkm" "${USER_CONFIG_FILE}")" MACSYS="$(readConfigKey "arc.macsys" "${USER_CONFIG_FILE}")" CPU="$(echo $(cat /proc/cpuinfo 2>/dev/null | grep 'model name' | uniq | awk -F':' '{print $2}'))" -RAMTOAL=$(($(free -m | grep -i mem | awk '{print$2}') / 1024 + 1)) +RAMTOTAL=$(($(free -m | grep -i mem | awk '{print$2}') / 1024 + 1)) RAM="${RAMTOTAL}GB" VENDOR="$(dmesg 2>/dev/null | grep -i "DMI:" | sed 's/\[.*\] DMI: //i')" @@ -235,7 +235,7 @@ elif [ "${DIRECTBOOT}" = "false" ]; then echo -e "\033[1;37m"Booting DSM..."\033[0m" for T in $(w | grep -v "TTY" | awk -F' ' '{print $2}') do - echo -e "\n\033[1;37mThis interface will not be operational. Wait a few minutes.\033[0m\n Use \033[1;34mhttp://${IPCON}:5000\033[0m or try \033[1;34mhttp://find.synology.com/ \033[0mto find DSM and proceed.\n" >"/dev/${T}" 2>/dev/null || true + echo -e "\n\033[1;37mThis interface will not be operational. Wait a few minutes.\033[0m\nUse \033[1;34mhttp://${IPCON}:5000\033[0m or try \033[1;34mhttp://find.synology.com/ \033[0mto find DSM and proceed.\n" >"/dev/${T}" 2>/dev/null || true done # Clear logs for dbgutils addons