mirror of
https://github.com/AuxXxilium/arc-v.git
synced 2024-11-23 23:11:05 +07:00
init/boot: fix coloring
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
8a88ebfd1e
commit
f10034acbb
@ -200,12 +200,12 @@ elif [ "${DIRECTBOOT}" = "false" ]; then
|
||||
break
|
||||
fi
|
||||
if [ ${COUNT} -gt ${BOOTIPWAIT} ]; then
|
||||
echo -e "\r${DRIVER}: TIMEOUT."
|
||||
echo -e "\r\033[1;37m${DRIVER}: TIMEOUT\033[0m"
|
||||
break
|
||||
fi
|
||||
sleep 3
|
||||
if ethtool ${N} | grep 'Link detected' | grep -q 'no'; then
|
||||
echo -e "\r${DRIVER}: NOT CONNECTED"
|
||||
echo -e "\r\033[1;37m${DRIVER}: NOT CONNECTED\033[0m"
|
||||
break
|
||||
fi
|
||||
COUNT=$((${COUNT} + 3))
|
||||
|
@ -154,12 +154,12 @@ for N in ${ETHX}; do
|
||||
break
|
||||
fi
|
||||
if [ ${COUNT} -gt ${BOOTIPWAIT} ]; then
|
||||
echo -e "\r${DRIVER}: TIMEOUT"
|
||||
echo -e echo -e "\r\033[1;37m${DRIVER}: TIMEOUT\033[0m"
|
||||
break
|
||||
fi
|
||||
sleep 3
|
||||
if ethtool ${N} | grep 'Link detected' | grep -q 'no'; then
|
||||
echo -e "\r${DRIVER}: NOT CONNECTED"
|
||||
echo -e "\r\033[1;37m${DRIVER}: NOT CONNECTED\033[0m"
|
||||
break
|
||||
fi
|
||||
COUNT=$((${COUNT} + 3))
|
||||
|
Loading…
Reference in New Issue
Block a user