diff options
author | John Crispin <blogic@openwrt.org> | 2013-08-01 14:30:53 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-08-01 14:30:53 +0000 |
commit | 48159ba927ade03cac00ba39fbe8065b5b77dbbd (patch) | |
tree | adf19cfc5d2ec253fd7f6927f3168341b60cfcc8 /target/linux/ramips/base-files/etc/uci-defaults | |
parent | 9e2a11f634980804cc74599799245ecc64a39173 (diff) | |
download | upstream-48159ba927ade03cac00ba39fbe8065b5b77dbbd.tar.gz upstream-48159ba927ade03cac00ba39fbe8065b5b77dbbd.tar.bz2 upstream-48159ba927ade03cac00ba39fbe8065b5b77dbbd.zip |
ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37636 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/02_network | 5 |
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) |