summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-01 22:49:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-01 22:49:02 +0000
commitf188f1bad53adc92a116227be05f9bc119f6d86e (patch)
tree1733784409577fe3c0bfc6657cf31a1003c831e5 /target/linux/ar71xx/base-files
parent0612667c340030b489976cd9e8a8094550065245 (diff)
downloadmtk-20170518-f188f1bad53adc92a116227be05f9bc119f6d86e.zip
mtk-20170518-f188f1bad53adc92a116227be05f9bc119f6d86e.tar.gz
mtk-20170518-f188f1bad53adc92a116227be05f9bc119f6d86e.tar.bz2
ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu> SVN-Revision: 29395
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 8cec0b1..f9419b9 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -118,6 +118,7 @@ routerstation)
ap121 |\
ap121-mini |\
ap96 |\
+airrouter |\
dir-600-a1 |\
dir-615-c1 |\
ja76pf |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 513f0d2..314b44e 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"
;;