summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/ar71xx.sh
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-01 22:49:02 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-12-01 22:49:02 +0000
commit41d8ed17e029cb88ca42a475f78c3d5987274bcb (patch)
treefd668c97037f61779e331cf61d7f1d367d354f65 /target/linux/ar71xx/base-files/lib/ar71xx.sh
parent8d3dba5fcafe95e570701800016bc61b1c25295d (diff)
ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/ar71xx.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 513f0d2f7..314b44e47 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -10,6 +10,9 @@ ar71xx_board_name() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
+ *"AirRouter")
+ name="airrouter"
+ ;;
*ALL0258N)
name="all0258n"
;;