From 1ecf4db9837b1e5a1c6c5ee6423eb391e2f62682 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 7 Dec 2024 18:51:40 +0100 Subject: [PATCH] functions: rewrite text Signed-off-by: AuxXxilium --- files/initrd/opt/arc/include/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/initrd/opt/arc/include/functions.sh b/files/initrd/opt/arc/include/functions.sh index d38d3b8a..8595d29a 100755 --- a/files/initrd/opt/arc/include/functions.sh +++ b/files/initrd/opt/arc/include/functions.sh @@ -609,11 +609,11 @@ function _bootwait() { busybox w 2>/dev/null | awk '{print $1" "$2" "$4" "$5" "$6}' >WB MSG="" while test ${BOOTWAIT} -ge 0; do - MSG="\033[1;33mAccess SSH/Web will interrupt boot...\033[0m" + MSG="\033[1;33mAccess to SSH/Web will interrupt boot...\033[0m" echo -en "\r${MSG}" busybox w 2>/dev/null | awk '{print $1" "$2" "$4" "$5" "$6}' >WC if ! diff WB WC >/dev/null 2>&1; then - echo -en "\r\033[1;33mAccess SSH/Web detected and boot is interrupted.\033[0m\n" + echo -en "\r\033[1;33mAccess to SSH/Web detected and boot is interrupted.\033[0m\n" rm -f WB WC exit 0 fi