From b4ebd305bdd4363c6261553115f575e7e2c1e346 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 16 Nov 2024 15:45:11 +0100 Subject: [PATCH] functions: fix typo Signed-off-by: AuxXxilium --- files/initrd/opt/arc/include/functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/initrd/opt/arc/include/functions.sh b/files/initrd/opt/arc/include/functions.sh index a14a9f97..47e62375 100755 --- a/files/initrd/opt/arc/include/functions.sh +++ b/files/initrd/opt/arc/include/functions.sh @@ -234,6 +234,7 @@ function _sort_netif() { local MAC="$(cat /sys/class/net/${N}/address 2>/dev/null | sed 's/://g; s/.*/\L&/')" local BUS="$(ethtool -i ${N} 2>/dev/null | grep bus-info | cut -d' ' -f2)" ETHLIST="${ETHLIST}${BUS} ${MAC} ${N}\n" + done local ETHLISTTMPB="$(echo -e "${ETHLIST}" | sort)" local ETHLIST="$(echo -e "${ETHLISTTMPB}" | grep -v '^$')" local ETHSEQ="$(echo -e "${ETHLIST}" | awk '{print $3}' | sed 's/eth//g')"