X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/e595553be8d9cd4a9e1346a7bb36c152bb8d5673..e310d5b786eb4c7e461f0aa609b3d3642db95465:/target/linux/ramips/base-files/etc/uci-defaults/network diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 489057dfd..f78f9bf9d 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -60,6 +60,18 @@ ramips_setup_macs() lan_mac=$(ramips_get_mac_binary factory 4) 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) + ;; esac [ -n $lan_mac ] && ucidef_set_interface_macaddr lan $lan_mac