From 001bfae3bd81fda9fc7fb1835e26cdf75a69442e Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Tue, 23 Apr 2024 21:12:20 +0200 Subject: [PATCH] boot: fix mac Signed-off-by: AuxXxilium --- files/initrd/opt/arc/boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/boot.sh b/files/initrd/opt/arc/boot.sh index 5ddd0046..b938c644 100755 --- a/files/initrd/opt/arc/boot.sh +++ b/files/initrd/opt/arc/boot.sh @@ -107,7 +107,7 @@ CMDLINE['netif_num']="${NIC}" if [ "${MACSYS}" = "hardware" ]; then CMDLINE['skip_vender_mac_interfaces']="0,1,2,3,4,5,6,7" elif [ "${MACSYS}" = "custom" ]; then - CMDLINE['skip_vender_mac_interfaces']="$(seq -s, ${NIC} 7)" + CMDLINE['skip_vender_mac_interfaces']="$(seq -s, $((${NIC} + 1)) 7)" fi # set fixed cmdline