From: juhosg Date: Sat, 11 Feb 2012 15:11:34 +0000 (+0000) Subject: ramips: rt305x: merge duplicated mac address setup X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/d69d16fbbd539eea99007dbd377da48ff8c43c49 ramips: rt305x: merge duplicated mac address setup Signed-off-by: Roman Yeryomin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30433 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index bce24e843..65c49e0eb 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -91,7 +91,8 @@ ramips_setup_macs() ;; esr-9753 | \ - nbg-419n) + nbg-419n | \ + wcr-150gn) lan_mac=$(ramips_get_mac_binary factory 4) wan_mac=$(ramips_get_mac_binary factory 40) ;; @@ -106,11 +107,6 @@ ramips_setup_macs() wan_mac=$(ramips_get_mac_binary factory 46) ;; - wcr-150gn) - lan_mac=$(ramips_get_mac_binary factory 4) - wan_mac=$(ramips_get_mac_binary factory 40) - ;; - wl341v3) lan_mac=$(ramips_get_mac_binary board-nvram 65440) wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)