init/boot: fix nic list

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-01-13 18:04:58 +01:00
parent ce9c4ee36f
commit 8a88ebfd1e
2 changed files with 2 additions and 2 deletions

View File

@@ -205,7 +205,7 @@ elif [ "${DIRECTBOOT}" = "false" ]; then
fi
sleep 3
if ethtool ${N} | grep 'Link detected' | grep -q 'no'; then
TEXT+="\n ${DRIVER}: \ZbIP: NOT CONNECTED | MAC: ${MAC}\Zn"
echo -e "\r${DRIVER}: NOT CONNECTED"
break
fi
COUNT=$((${COUNT} + 3))

View File

@@ -159,7 +159,7 @@ for N in ${ETHX}; do
fi
sleep 3
if ethtool ${N} | grep 'Link detected' | grep -q 'no'; then
TEXT+="\n ${DRIVER}: \ZbIP: NOT CONNECTED | MAC: ${MAC}\Zn"
echo -e "\r${DRIVER}: NOT CONNECTED"
break
fi
COUNT=$((${COUNT} + 3))