summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/preinit
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-19 16:44:49 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-19 16:44:49 +0000
commitf6ba1d4f8c058ad3e8bf63cbea901b148c3bfee3 (patch)
treea8268ed5303c51478f75580749e820f26f477234 /target/linux/ramips/base-files/lib/preinit
parent2029a65c6e434aa89c4f531359a95c32510c4fbf (diff)
ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
[juhosg: - don't switch back to 2.6.39 - update config-3.2 - change machine id to SL-R7205 - reorder case entries in platform scripts - remove button hotplug script] Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30645 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac3
1 files changed, 2 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 9f5c02446..66eb6b98a 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
@@ -9,9 +9,10 @@ preinit_set_mac_address() {
case $(ramips_board_name) in
bc2 |\
+ esr-9753 |\
nw718 |\
rt-n56u |\
- esr-9753)
+ sl-r7205)
mac=$(ramips_get_mac_binary factory 4)
mac=$(maccalc or "$mac" "02:00:00:00:00:00")
ifconfig eth0 hw ether $mac 2>/dev/null