From 02f2e90d5f9071ff3641a8dccfd54ab1354a0c13 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 27 Mar 2014 06:36:47 +0000 Subject: ar71xx: add user space support for the Oolite v1 board MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch-by: Lars Bøgild Thomsen Patchwork: http://patchwork.openwrt.org/patch/4922/ [juhosg: use correct board name in uci-defaults/02_network] Signed-off-by: Gabor Juhos SVN-Revision: 40033 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/ar71xx/base-files/lib/ar71xx.sh') diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 06f128b..a20e1d5 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -91,6 +91,9 @@ tplink_board_detect() { hwver="v${hwver#0}" case "$hwid" in + "3C0001"*) + model="OOLITE" + ;; "070300"*) model="TP-Link TL-WR703N" ;; @@ -204,6 +207,9 @@ ar71xx_board_detect() { machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo) case "$machine" in + *"Oolite V1.0") + name="oolite" + ;; *"AirRouter") name="airrouter" ;; -- cgit v1.1