ramips: fix mac addresses on the DIR-300/600 boards
[openwrt/svn-archive/archive.git] / target / linux / ramips / base-files / etc / uci-defaults / network
index fdd29a8d6e4af8543bf4888e14111c023947e492..f78f9bf9dcf0e7bf3fe201c617f655ef53afe46a 100755 (executable)
@@ -61,6 +61,13 @@ ramips_setup_macs()
                wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
                ;;
 
+       dir-300-b1 |\
+       dir-300-b2 |\
+       dir-600-b1)
+               lan_mac=$(ramips_get_mac_binary devdata 16388)
+               wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
+               ;;
+
        nbg-419n)
                 lan_mac=$(ramips_get_mac_binary factory 4)
                 wan_mac=$(ramips_get_mac_binary factory 40)