From e31cb6f5c2895fdc30aef8826de5f444a35b08a2 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 8 Jun 2024 18:05:13 +0200 Subject: [PATCH] boot: set boottimer to 5 Signed-off-by: AuxXxilium --- files/initrd/opt/arc/boot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/boot.sh b/files/initrd/opt/arc/boot.sh index df5c790e..10ce76a4 100755 --- a/files/initrd/opt/arc/boot.sh +++ b/files/initrd/opt/arc/boot.sh @@ -191,6 +191,7 @@ if [ "${DIRECTBOOT}" == "true" ]; then exit 0 elif [ "${DIRECTBOOT}" == "false" ]; then BOOTIPWAIT="$(readConfigKey "arc.bootipwait" "${USER_CONFIG_FILE}")" + [ -z "${BOOTIPWAIT}" ] && BOOTIPWAIT=20 echo -e "\033[1;34mDetected ${NIC} NIC.\033[0m \033[1;37mWaiting for Connection:\033[0m" for ETH in ${ETHX}; do IP="" @@ -223,7 +224,7 @@ elif [ "${DIRECTBOOT}" == "false" ]; then done done # Exec Bootwait to check SSH/Web connection - BOOTWAIT=1 + BOOTWAIT=5 w | awk '{print $1" "$2" "$4" "$5" "$6}' >WB MSG="" while test ${BOOTWAIT} -ge 0; do