From a3d212948721c0be2e9e3ded1c5c7dc99b7ab4eb Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 12 Nov 2011 10:54:10 +0000 Subject: [PATCH] ar71xx: add diag support for the DB120 board git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28975 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index df5217485..dd5b6b1b4 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -45,6 +45,9 @@ get_status_led() { bullet-m | rocket-m | nano-m | nanostation-m) status_led="ubnt:green:link4" ;; + db120) + status_led="db120:green:status" + ;; dir-600-a1) status_led="dir-600-a1:green:power" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 6064dcd11..6ea97eda9 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -31,6 +31,9 @@ ar71xx_board_name() { *AW-NR580) name="aw-nr580" ;; + *DB120) + name="db120" + ;; *"DIR-600 rev. A1") name="dir-600-a1" ;; -- 2.20.1