diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-07-12 13:29:46 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-07-12 13:29:46 +0000 |
commit | cb32e76a01990169ac96d9ade4a5f39b39153ace (patch) | |
tree | 1f36504c6c0cc83dd46217e2fe76f15f95f81ed7 /target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | |
parent | 5327743b3245e26706e579f3fb2a205d19f8987b (diff) | |
download | upstream-cb32e76a01990169ac96d9ade4a5f39b39153ace.tar.gz upstream-cb32e76a01990169ac96d9ade4a5f39b39153ace.tar.bz2 upstream-cb32e76a01990169ac96d9ade4a5f39b39153ace.zip |
ramips: rt305x: add support for Edimax 3G-6200N
Support for Edimax 3G-6200N router with USB.
Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32682 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit/06_set_iface_mac')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index a605b22f8c..db6e5c82f8 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -8,6 +8,10 @@ preinit_set_mac_address() { . /lib/ramips.sh case $(ramips_board_name) in + 3g-6200n) + mac=$(ramips_get_mac_binary factory 4) + ifconfig eth0 hw ether $mac 2>/dev/null + ;; bc2 |\ esr-9753 |\ freestation5 |\ |