treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / mvebu / base-files / lib / preinit / 06_set_iface_mac
index ae34ef49da53f00c97d444179903cd2392c86325..e884351bf73613b209c3229af61444f9949d5c90 100644 (file)
@@ -7,9 +7,8 @@ preinit_set_mac_address() {
        local mac
 
        . /lib/functions.sh
-       . /lib/mvebu.sh
 
-       case $(mvebu_board_name) in
+       case $(board_name) in
        armada-xp-linksys-mamba)
                mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
                ifconfig eth0 hw ether $mac 2>/dev/null