aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-11 15:11:34 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-11 15:11:34 +0000
commit9933f03b4a326b477e408da55ebf6325b5a987a8 (patch)
tree26614d02e864b21452e0a687a4204221a0ecb9da /target/linux/ramips/base-files/etc/uci-defaults
parent393ae555fa1282d39de93e9ef8859c64df34e2cd (diff)
downloadmaster-187ad058-9933f03b4a326b477e408da55ebf6325b5a987a8.tar.gz
master-187ad058-9933f03b4a326b477e408da55ebf6325b5a987a8.tar.bz2
master-187ad058-9933f03b4a326b477e408da55ebf6325b5a987a8.zip
ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30433 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network8
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)