From 590bafe3def4a6c1cb962cf92d15861536af4a50 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 23 Feb 2014 08:11:54 +0000 Subject: [PATCH] ar71xx: define status LED for the RB91x boards Signed-off-by: Gabor Juhos SVN-Revision: 39705 --- target/linux/ar71xx/base-files/etc/diag.sh | 6 ++++++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index dea3f811e8..b328766a61 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -113,6 +113,12 @@ get_status_led() { rb-750) status_led="rb750:green:act" ;; + rb-911g-2hpnd|\ + rb-911g-5hpnd|\ + rb-912uag-2hpnd|\ + rb-912uag-5hpnd) + status_led="rb:green:user" + ;; routerstation | routerstation-pro) status_led="ubnt:green:rf" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 81a7591482..06f128bb0f 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -399,6 +399,18 @@ ar71xx_board_detect() { *"RouterBOARD 751G") name="rb-751g" ;; + *"RouterBOARD 911G-2HPnD") + name="rb-911g-2hpnd" + ;; + *"RouterBOARD 911G-5HPnD") + name="rb-911g-5hpnd" + ;; + *"RouterBOARD 912UAG-2HPnD") + name="rb-912uag-2hpnd" + ;; + *"RouterBOARD 912UAG-5HPnD") + name="rb-912uag-5hpnd" + ;; *"RouterBOARD 951G-2HnD") name="rb-951g-2hnd" ;;