diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-11 15:11:34 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-11 15:11:34 +0000 |
commit | 59b474732c36d40c725d8bc5a8382c047f7f6933 (patch) | |
tree | cf58e483836f975ebc062db41806d6d919beed31 /target/linux/ramips/base-files | |
parent | 7298ef2456d1cab36a0b2735eabe1403622a51a1 (diff) | |
download | upstream-59b474732c36d40c725d8bc5a8382c047f7f6933.tar.gz upstream-59b474732c36d40c725d8bc5a8382c047f7f6933.tar.bz2 upstream-59b474732c36d40c725d8bc5a8382c047f7f6933.zip |
ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 30433
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/network | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index bce24e8432..65c49e0ebb 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) |