From d3a0a297e307b7657ccbb2de58f684d16631d89a Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 30 Dec 2023 18:15:33 +0100 Subject: [PATCH] boot: little fix Signed-off-by: AuxXxilium --- files/initrd/opt/arc/boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/boot.sh b/files/initrd/opt/arc/boot.sh index 69e1212e..1b17c67d 100755 --- a/files/initrd/opt/arc/boot.sh +++ b/files/initrd/opt/arc/boot.sh @@ -197,7 +197,7 @@ elif [ "${DIRECTBOOT}" = "false" ]; then if [ -n "${IP}" ]; then SPEED=$(ethtool ${N} | grep "Speed:" | awk '{print $2}') echo -e "\r\033[1;37m${DRIVER} (${SPEED} | ${MSG}):\033[0m Access \033[1;34mhttp://${IP}:5000\033[0m to connect to DSM via web." - IPCON="${IP}" + [ ! -n "${IPCON}" ] && "IPCON="${IP}" break fi COUNT=$((${COUNT} + 1))