ramips: Add support for 8devices Carambola dev board.
[librecmc/librecmc.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index 69d1b8cb20274af1f316c4b7a11c462c9c2a2329..591c549d140db98f3526e7143a9d63672f4988d5 100644 (file)
@@ -8,7 +8,12 @@ preinit_set_mac_address() {
        . /lib/ramips.sh
 
        case $(ramips_board_name) in
+       3g-6200n)
+               mac=$(ramips_get_mac_binary factory 4)
+               ifconfig eth0 hw ether $mac 2>/dev/null
+               ;;
        bc2 |\
+       dir-620-a1 |\
        esr-9753 |\
        freestation5 |\
        nw718 |\
@@ -25,7 +30,16 @@ preinit_set_mac_address() {
                 mac=$(ramips_get_mac_binary devdata 16388)
                 ifconfig eth0 hw ether $mac 2>/dev/null
                 ;;
+       dap-1350)
+               mac=$(ramips_get_mac_binary devdata 46)
+               ifconfig eth0 hw ether $mac 2>/dev/null
+                ;;
+       all0239-3g |\
        all0256n |\
+       all5002 |\
+       carambola |\
+       dir-615-h1 |\
+       fonera20n |\
        hw550-3g |\
        nbg-419n |\
        omni-emb |\