aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-08-01 14:30:53 +0000
committerJohn Crispin <john@openwrt.org>2013-08-01 14:30:53 +0000
commit23d3b705df405e36b07253f9d16f2fb7757f03f0 (patch)
tree881c9b7f84d81e8243c57dae99eab1ef1fd6ace4 /target/linux/ramips/base-files/etc/uci-defaults
parentaaedf6c8c612d0a561c91fd0f11631ff7e9576b1 (diff)
downloadupstream-23d3b705df405e36b07253f9d16f2fb7757f03f0.tar.gz
upstream-23d3b705df405e36b07253f9d16f2fb7757f03f0.tar.bz2
upstream-23d3b705df405e36b07253f9d16f2fb7757f03f0.zip
ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 37636
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 6877588a45..307330b063 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -226,6 +226,11 @@ ramips_setup_macs()
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
+ m3)
+ lan_mac=$(mtd_get_mac_binary factory 4)
+ lan_mac=$(macaddr_add "$lan_mac" -1)
+ ;;
+
nbg-419n | \
wcr-150gn)
lan_mac=$(mtd_get_mac_binary factory 4)