boot: fix mac

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-04-23 21:12:20 +02:00
parent 5ea8a18b3e
commit 001bfae3bd

View File

@@ -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