diff options
author | John Crispin <john@openwrt.org> | 2013-08-14 19:35:27 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-08-14 19:35:27 +0000 |
commit | dc7164d4efd172fb412d24849dc477992251e4b7 (patch) | |
tree | 6548fee60b4ac1abf7ad232f428b003b47553d76 /target/linux/ramips/base-files/lib | |
parent | 97a7daa72f78396445af79c939f3752484cc8cb2 (diff) | |
download | mtk-20170518-dc7164d4efd172fb412d24849dc477992251e4b7.zip mtk-20170518-dc7164d4efd172fb412d24849dc477992251e4b7.tar.gz mtk-20170518-dc7164d4efd172fb412d24849dc477992251e4b7.tar.bz2 |
ramips: DIR-610-A1 Support
http://patchwork.openwrt.org/patch/3933/
Signed-off-by: Flavio Silveira <fggs@terra.com.br>
SVN-Revision: 37785
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 |
2 files changed, 5 insertions, 1 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 a0d9b61..44cab3a 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 @@ -39,7 +39,8 @@ preinit_set_mac_address() { asl26555 |\ dir-300-b1 |\ dir-300-b2 |\ - dir-600-b1) + dir-600-b1 |\ + dir-610-a1) mac=$(mtd_get_mac_binary devdata 16388) ifconfig eth0 hw ether $mac 2>/dev/null ;; diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 3ec44d2..066f3bd 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -73,6 +73,9 @@ ramips_board_detect() { *"DIR-600 B2") name="dir-600-b2" ;; + *"DIR-610 A1") + name="dir-610-a1" + ;; *"DIR-620 A1") name="dir-620-a1" ;; |