From a46cfc6bccf2343230f701e86fa88be1404ca1ce Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 23 Dec 2011 14:27:10 +0000 Subject: ramips: add support for the Senao/EnGenius ESR-9753 board Signed-off-by: Artur Wronowski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29603 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 2 +- target/linux/ramips/base-files/lib/ramips.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files/lib') 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 0518b7be9..eade567c3 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,7 +8,7 @@ preinit_set_mac_address() { . /lib/ramips.sh case $(ramips_board_name) in - bc2 | nw718) + bc2 | nw718 | esr-9753) 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 diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 7d45bde09..faed42162 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -62,6 +62,9 @@ ramips_board_name() { *"DIR-600 B2") name="dir-600-b2" ;; + *"ESR-9753") + name="esr-9753" + ;; *"F5D8235 v2") name="f5d8235-v2" ;; -- cgit v1.2.3