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))